You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::EC2::Types::DnsServersOptionsModifyStructure
- Inherits:
-
Struct
- Object
- Struct
- Aws::EC2::Types::DnsServersOptionsModifyStructure
- Defined in:
- (unknown)
Overview
Note:
When passing DnsServersOptionsModifyStructure as input to an Aws::Client method, you can use a vanilla Hash:
{
custom_dns_servers: ["String"],
enabled: false,
}
Information about the DNS server to be used.
Returned by:
Instance Attribute Summary collapse
-
#custom_dns_servers ⇒ Array<String>
The IPv4 address range, in CIDR notation, of the DNS servers to be used.
-
#enabled ⇒ Boolean
Indicates whether DNS servers should be used.
Instance Attribute Details
#custom_dns_servers ⇒ Array<String>
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 ⇒ Boolean
Indicates whether DNS servers should be used. Specify False
to delete
the existing DNS servers.