pub struct EipAssociationResult {
pub allocation_id: Output<String>,
pub allow_reassociation: Output<Option<bool>>,
pub instance_id: Output<String>,
pub network_interface_id: Output<String>,
pub private_ip_address: Output<String>,
pub public_ip: Output<String>,
}
Fields§
§allocation_id: Output<String>
The allocation ID. This is required for EC2-VPC.
allow_reassociation: Output<Option<bool>>
Whether to allow an Elastic IP to
be re-associated. Defaults to true
in VPC.
instance_id: Output<String>
The ID of the instance. This is required for EC2-Classic. For EC2-VPC, you can specify either the instance ID or the network interface ID, but not both. The operation fails if you specify an instance ID unless exactly one network interface is attached.
network_interface_id: Output<String>
The ID of the network interface. If the instance has more than one network interface, you must specify a network interface ID.
private_ip_address: Output<String>
The primary or secondary private IP address to associate with the Elastic IP address. If no private IP address is specified, the Elastic IP address is associated with the primary private IP address.
public_ip: Output<String>
The Elastic IP address. This is required for EC2-Classic.