Skip to content

EC2  >  Structures  >  NetworkInterfaceIpv6Address

NetworkInterfaceIpv6Address

Structure Class

NetworkInterfaceIpv6Address dataclass

Bases: _SerdeShape

Describes an IPv6 address associated with a network interface.

Attributes

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

The IPv6 address.

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

Determines if an IPv6 address associated with a network interface is the primary IPv6 address. When you enable an IPv6 GUA address to be a primary IPv6, the first IPv6 GUA will be made the primary IPv6 address until the instance is terminated or the network interface is detached. For more information, see ModifyNetworkInterfaceAttribute.

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

An IPv6-enabled public hostname for a network interface. Requests from within the VPC or from the internet resolve to the IPv6 GUA of the network interface. For more information, see EC2 instance hostnames, DNS names, and domains in the Amazon EC2 User Guide.