amazonka-ec2-2.0: Amazon Elastic Compute Cloud SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.EC2.Types.DnsServersOptionsModifyStructure

Description

 
Synopsis

Documentation

data DnsServersOptionsModifyStructure Source #

Information about the DNS server to be used.

See: newDnsServersOptionsModifyStructure smart constructor.

Constructors

DnsServersOptionsModifyStructure' 

Fields

  • customDnsServers :: Maybe [Text]

    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 :: Maybe Bool

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

Instances

Instances details
ToQuery DnsServersOptionsModifyStructure Source # 
Instance details

Defined in Amazonka.EC2.Types.DnsServersOptionsModifyStructure

Generic DnsServersOptionsModifyStructure Source # 
Instance details

Defined in Amazonka.EC2.Types.DnsServersOptionsModifyStructure

Associated Types

type Rep DnsServersOptionsModifyStructure :: Type -> Type #

Read DnsServersOptionsModifyStructure Source # 
Instance details

Defined in Amazonka.EC2.Types.DnsServersOptionsModifyStructure

Show DnsServersOptionsModifyStructure Source # 
Instance details

Defined in Amazonka.EC2.Types.DnsServersOptionsModifyStructure

NFData DnsServersOptionsModifyStructure Source # 
Instance details

Defined in Amazonka.EC2.Types.DnsServersOptionsModifyStructure

Eq DnsServersOptionsModifyStructure Source # 
Instance details

Defined in Amazonka.EC2.Types.DnsServersOptionsModifyStructure

Hashable DnsServersOptionsModifyStructure Source # 
Instance details

Defined in Amazonka.EC2.Types.DnsServersOptionsModifyStructure

type Rep DnsServersOptionsModifyStructure Source # 
Instance details

Defined in Amazonka.EC2.Types.DnsServersOptionsModifyStructure

type Rep DnsServersOptionsModifyStructure = D1 ('MetaData "DnsServersOptionsModifyStructure" "Amazonka.EC2.Types.DnsServersOptionsModifyStructure" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "DnsServersOptionsModifyStructure'" 'PrefixI 'True) (S1 ('MetaSel ('Just "customDnsServers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "enabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

newDnsServersOptionsModifyStructure :: DnsServersOptionsModifyStructure Source #

Create a value of DnsServersOptionsModifyStructure with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:customDnsServers:DnsServersOptionsModifyStructure', dnsServersOptionsModifyStructure_customDnsServers - 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.

$sel:enabled:DnsServersOptionsModifyStructure', dnsServersOptionsModifyStructure_enabled - Indicates whether DNS servers should be used. Specify False to delete the existing DNS servers.

dnsServersOptionsModifyStructure_customDnsServers :: Lens' DnsServersOptionsModifyStructure (Maybe [Text]) Source #

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.

dnsServersOptionsModifyStructure_enabled :: Lens' DnsServersOptionsModifyStructure (Maybe Bool) Source #

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