Class: Aws::EC2::Types::DnsServersOptionsModifyStructure

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb

Overview

Information about the DNS server to be used.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

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.

Returns:

  • (Array<String>)


41097
41098
41099
41100
41101
41102
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 41097

class DnsServersOptionsModifyStructure < Struct.new(
  :custom_dns_servers,
  :enabled)
  SENSITIVE = []
  include Aws::Structure
end

#enabled ⇒ Boolean

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

Returns:

  • (Boolean)


41097
41098
41099
41100
41101
41102
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 41097

class DnsServersOptionsModifyStructure < Struct.new(
  :custom_dns_servers,
  :enabled)
  SENSITIVE = []
  include Aws::Structure
end