Skip to content

EC2  >  Dictionaries  >  DnsServersOptionsModifyStructureDict

DnsServersOptionsModifyStructureDict

Dictionary Type

DnsServersOptionsModifyStructureDict

Bases: TypedDict

Dictionary form of DnsServersOptionsModifyStructure.

Attributes

custom_dns_servers instance-attribute
custom_dns_servers: Sequence[str] | None

The IPv4 address range, in CIDR notation, of the DNS servers to be used. You can specify up to two DNS servers. Ensure that the DNS servers can be reached by the clients. The specified values overwrite the existing values.

enabled instance-attribute
enabled: bool | None

Indicates whether DNS servers should be used. Specify False to delete the existing DNS servers.