Subnet / Attribute / private_dns_name_options_on_launch

private_dns_name_options_on_launch#

EC2.Subnet.private_dns_name_options_on_launch#
  • (dict) –

    The type of hostnames to assign to instances in the subnet at launch. An instance hostname is based on the IPv4 address or ID of the instance.

    • HostnameType (string) –

      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.

    • EnableResourceNameDnsARecord (boolean) –

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

    • EnableResourceNameDnsAAAARecord (boolean) –

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