Skip to content

DnsServersOptionsModifyStructure

Source code in docs_src/capo_ec2/types/dns_servers_options_modify_structure.py
class DnsServersOptionsModifyStructure(TypedDict, closed=True):
    custom_dns_servers: NotRequired["capo_ec2.types.value_string_list.ValueStringList"]
    """<p>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.</p>"""
    enabled: NotRequired["capo_ec2.types.boolean.Boolean"]
    """<p>Indicates whether DNS servers should be used. Specify <code>False</code> to delete the existing DNS servers.</p>"""

custom_dns_servers instance-attribute

custom_dns_servers: NotRequired[ValueStringList]

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: NotRequired[Boolean]

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