Struct aws_sdk_ec2::model::Address
source · #[non_exhaustive]pub struct Address { /* private fields */ }
Expand description
Describes an Elastic IP address, or a carrier IP address.
Implementations§
source§impl Address
impl Address
sourcepub fn instance_id(&self) -> Option<&str>
pub fn instance_id(&self) -> Option<&str>
The ID of the instance that the address is associated with (if any).
sourcepub fn allocation_id(&self) -> Option<&str>
pub fn allocation_id(&self) -> Option<&str>
The ID representing the allocation of the address for use with EC2-VPC.
sourcepub fn association_id(&self) -> Option<&str>
pub fn association_id(&self) -> Option<&str>
The ID representing the association of the address with an instance in a VPC.
sourcepub fn domain(&self) -> Option<&DomainType>
pub fn domain(&self) -> Option<&DomainType>
Indicates whether this Elastic IP address is for use with instances in EC2-Classic (standard
) or instances in a VPC (vpc
).
sourcepub fn network_interface_id(&self) -> Option<&str>
pub fn network_interface_id(&self) -> Option<&str>
The ID of the network interface.
sourcepub fn network_interface_owner_id(&self) -> Option<&str>
pub fn network_interface_owner_id(&self) -> Option<&str>
The ID of the Amazon Web Services account that owns the network interface.
sourcepub fn private_ip_address(&self) -> Option<&str>
pub fn private_ip_address(&self) -> Option<&str>
The private IP address associated with the Elastic IP address.
Any tags assigned to the Elastic IP address.
sourcepub fn public_ipv4_pool(&self) -> Option<&str>
pub fn public_ipv4_pool(&self) -> Option<&str>
The ID of an address pool.
sourcepub fn network_border_group(&self) -> Option<&str>
pub fn network_border_group(&self) -> Option<&str>
The name of the unique set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services advertises IP addresses.
sourcepub fn customer_owned_ip(&self) -> Option<&str>
pub fn customer_owned_ip(&self) -> Option<&str>
The customer-owned IP address.
sourcepub fn customer_owned_ipv4_pool(&self) -> Option<&str>
pub fn customer_owned_ipv4_pool(&self) -> Option<&str>
The ID of the customer-owned address pool.
sourcepub fn carrier_ip(&self) -> Option<&str>
pub fn carrier_ip(&self) -> Option<&str>
The carrier IP address associated. This option is only available for network interfaces which reside in a subnet in a Wavelength Zone (for example an EC2 instance).