Struct aws_sdk_ec2::types::Address
source · #[non_exhaustive]pub struct Address {Show 14 fields
pub instance_id: Option<String>,
pub public_ip: Option<String>,
pub allocation_id: Option<String>,
pub association_id: Option<String>,
pub domain: Option<DomainType>,
pub network_interface_id: Option<String>,
pub network_interface_owner_id: Option<String>,
pub private_ip_address: Option<String>,
pub tags: Option<Vec<Tag>>,
pub public_ipv4_pool: Option<String>,
pub network_border_group: Option<String>,
pub customer_owned_ip: Option<String>,
pub customer_owned_ipv4_pool: Option<String>,
pub carrier_ip: Option<String>,
}
Expand description
Describes an Elastic IP address, or a carrier IP address.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.instance_id: Option<String>
The ID of the instance that the address is associated with (if any).
public_ip: Option<String>
The Elastic IP address.
allocation_id: Option<String>
The ID representing the allocation of the address.
association_id: Option<String>
The ID representing the association of the address with an instance.
domain: Option<DomainType>
The network (vpc
).
network_interface_id: Option<String>
The ID of the network interface.
network_interface_owner_id: Option<String>
The ID of the Amazon Web Services account that owns the network interface.
private_ip_address: Option<String>
The private IP address associated with the Elastic IP address.
Any tags assigned to the Elastic IP address.
public_ipv4_pool: Option<String>
The ID of an address pool.
network_border_group: Option<String>
The name of the unique set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services advertises IP addresses.
customer_owned_ip: Option<String>
The customer-owned IP address.
customer_owned_ipv4_pool: Option<String>
The ID of the customer-owned address pool.
carrier_ip: Option<String>
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).
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.
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.
sourcepub fn domain(&self) -> Option<&DomainType>
pub fn domain(&self) -> Option<&DomainType>
The network (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).