Skip to content

PrivateDnsNameOptionsRequest

Source code in docs_src/capo_ec2/types/private_dns_name_options_request.py
class PrivateDnsNameOptionsRequest(TypedDict, closed=True):
    hostname_type: NotRequired["capo_ec2.types.hostname_type.HostnameType"]
    """<p>The type of hostname for EC2 instances. For IPv4 only subnets, an instance DNS name must be based on the instance IPv4 address. For IPv6 only subnets, an instance DNS name must be based on the instance ID. For dual-stack subnets, you can specify whether DNS names use the instance IPv4 address or the instance ID.</p>"""
    enable_resource_name_dns_a_record: NotRequired["capo_ec2.types.boolean.Boolean"]
    """<p>Indicates whether to respond to DNS queries for instance hostnames with DNS A records.</p>"""
    enable_resource_name_dns_aaaa_record: NotRequired["capo_ec2.types.boolean.Boolean"]
    """<p>Indicates whether to respond to DNS queries for instance hostnames with DNS AAAA records.</p>"""

enable_resource_name_dns_a_record instance-attribute

enable_resource_name_dns_a_record: NotRequired[Boolean]

Indicates whether to respond to DNS queries for instance hostnames with DNS A records.

enable_resource_name_dns_aaaa_record instance-attribute

enable_resource_name_dns_aaaa_record: NotRequired[Boolean]

Indicates whether to respond to DNS queries for instance hostnames with DNS AAAA records.

hostname_type instance-attribute

hostname_type: NotRequired[HostnameType]

The type of hostname for EC2 instances. For IPv4 only subnets, an instance DNS name must be based on the instance IPv4 address. For IPv6 only subnets, an instance DNS name must be based on the instance ID. For dual-stack subnets, you can specify whether DNS names use the instance IPv4 address or the instance ID.