Skip to content

EC2  >  Structures  >  NatGatewayAddress

NatGatewayAddress

Structure Class

NatGatewayAddress dataclass

Bases: _SerdeShape

Describes the IP addresses and network interface associated with a NAT gateway.

Attributes

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

[Public NAT gateway only] The allocation ID of the Elastic IP address that's associated with the NAT gateway.

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

[Public NAT gateway only] The association ID of the Elastic IP address that's associated with the NAT gateway.

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

The Availability Zone where this Elastic IP address (EIP) is being used to handle outbound NAT traffic.

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

The ID of the Availability Zone where this Elastic IP address (EIP) is being used to handle outbound NAT traffic. Use this instead of AvailabilityZone for consistent identification of AZs across Amazon Web Services Regions.

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

The address failure message.

is_primary class-attribute instance-attribute
is_primary: bool | None = ...

Defines if the IP address is the primary address.

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

The ID of the network interface associated with the NAT gateway.

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

The private IP address associated with the NAT gateway.

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

[Public NAT gateway only] The Elastic IP address associated with the NAT gateway.

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

The address status.