Skip to content

PublicIpDnsNameOptions

Source code in docs_src/capo_ec2/types/public_ip_dns_name_options.py
class PublicIpDnsNameOptions(TypedDict, closed=True):
    dns_hostname_type: NotRequired["capo_ec2.types.string.String"]
    """<p>The public hostname type. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-naming.html">EC2 instance hostnames, DNS names, and domains</a> in the <i>Amazon EC2 User Guide</i>.</p>"""
    public_ipv4_dns_name: NotRequired["capo_ec2.types.string.String"]
    """<p>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.</p>"""
    public_ipv6_dns_name: NotRequired["capo_ec2.types.string.String"]
    """<p>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.</p>"""
    public_dual_stack_dns_name: NotRequired["capo_ec2.types.string.String"]
    """<p>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.</p>"""

dns_hostname_type instance-attribute

dns_hostname_type: NotRequired[String]

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 instance-attribute

public_dual_stack_dns_name: NotRequired[String]

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 instance-attribute

public_ipv4_dns_name: NotRequired[String]

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 instance-attribute

public_ipv6_dns_name: NotRequired[String]

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.