Skip to content

EC2  >  Structures  >  Address

Address

Structure Class

Address dataclass

Bases: _SerdeShape

Describes an Elastic IP address, or a carrier IP address.

Attributes

allocation_id class-attribute instance-attribute
allocation_id: str | None = ...

The ID representing the allocation of the address.

association_id class-attribute instance-attribute
association_id: str | None = ...

The ID representing the association of the address with an instance.

carrier_ip class-attribute instance-attribute
carrier_ip: str | None = ...

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).

customer_owned_ip class-attribute instance-attribute
customer_owned_ip: str | None = ...

The customer-owned IP address.

customer_owned_ipv4_pool class-attribute instance-attribute
customer_owned_ipv4_pool: str | None = ...

The ID of the customer-owned address pool.

domain class-attribute instance-attribute
domain: str | None = ...

The network (vpc).

instance_id class-attribute instance-attribute
instance_id: str | None = ...

The ID of the instance that the address is associated with (if any).

network_border_group class-attribute instance-attribute
network_border_group: str | None = ...

The name of the unique set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services advertises IP addresses.

network_interface_id class-attribute instance-attribute
network_interface_id: str | None = ...

The ID of the network interface.

network_interface_owner_id class-attribute instance-attribute
network_interface_owner_id: str | None = ...

The ID of the Amazon Web Services account that owns the network interface.

private_ip_address class-attribute instance-attribute
private_ip_address: str | None = ...

The private IP address associated with the Elastic IP address.

public_ip class-attribute instance-attribute
public_ip: str | None = ...

The Elastic IP address.

public_ipv4_pool class-attribute instance-attribute
public_ipv4_pool: str | None = ...

The ID of an address pool.

service_managed class-attribute instance-attribute
service_managed: str | None = ...

The service that manages the elastic IP address.

Note

The only option supported today is alb.

subnet_id class-attribute instance-attribute
subnet_id: str | None = ...

The ID of the subnet where the IP address is allocated.

tags class-attribute instance-attribute
tags: list[Tag] | None = ...

Any tags assigned to the Elastic IP address.