Skip to content

EC2  >  Structures  >  DnsServersOptionsModifyStructure

DnsServersOptionsModifyStructure

Structure Class

DnsServersOptionsModifyStructure dataclass

Bases: _SerdeShape

Information about the DNS server to be used.

Attributes

custom_dns_servers class-attribute instance-attribute
custom_dns_servers: list[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 class-attribute instance-attribute
enabled: bool | None = ...

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