PrivateDnsNameOptionsRequest
¶
Used by
-
AsyncEC2Client Operationsrun_instances -
EC2Client Operationsrun_instances
Source code in docs_src/capo_ec2/types/private_dns_name_options_request.py
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.