Skip to content

EC2  >  Structures  >  PublicIpDnsNameOptions

PublicIpDnsNameOptions

Structure Class

PublicIpDnsNameOptions dataclass

Bases: _SerdeShape

Public hostname type options. For more information, see EC2 instance hostnames, DNS names, and domains in the Amazon EC2 User Guide.

Attributes

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

The public hostname type. For more information, see EC2 instance hostnames, DNS names, and domains in the Amazon EC2 User Guide.

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

A dual-stack public hostname for a network interface. Requests from within the VPC resolve to both the private IPv4 address and the IPv6 Global Unicast Address of the network interface. Requests from the internet resolve to both the public IPv4 and the IPv6 GUA address of the network interface.

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

An IPv4-enabled public hostname for a network interface. Requests from within the VPC resolve to the private primary IPv4 address of the network interface. Requests from the internet resolve to the public IPv4 address of the network interface.

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.