Skip to content

EC2  >  Structures  >  PrivateDnsNameOptionsResponse

PrivateDnsNameOptionsResponse

Structure Class

PrivateDnsNameOptionsResponse dataclass

Bases: _SerdeShape

Describes the options for instance hostnames.

Attributes

enable_resource_name_dns_a_record class-attribute instance-attribute
enable_resource_name_dns_a_record: bool | None = ...

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

enable_resource_name_dns_aaaa_record class-attribute instance-attribute
enable_resource_name_dns_aaaa_record: bool | None = ...

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

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

The type of hostname to assign to an instance.