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.PrivateDnsNameOptionsRequest

Description

 
Synopsis

Documentation

data PrivateDnsNameOptionsRequest Source #

Describes the options for instance hostnames.

See: newPrivateDnsNameOptionsRequest smart constructor.

Constructors

PrivateDnsNameOptionsRequest' 

Fields

  • enableResourceNameDnsAAAARecord :: Maybe Bool

    Indicates whether to respond to DNS queries for instance hostnames with DNS AAAA records.

  • enableResourceNameDnsARecord :: Maybe Bool

    Indicates whether to respond to DNS queries for instance hostnames with DNS A records.

  • hostnameType :: Maybe HostnameType

    The type of hostname for EC2 instances. For IPv4 only subnets, an instance DNS name must be based on the instance IPv4 address. For IPv6 only subnets, an instance DNS name must be based on the instance ID. For dual-stack subnets, you can specify whether DNS names use the instance IPv4 address or the instance ID.

Instances

Instances details
ToQuery PrivateDnsNameOptionsRequest Source # 
Instance details

Defined in Amazonka.EC2.Types.PrivateDnsNameOptionsRequest

Generic PrivateDnsNameOptionsRequest Source # 
Instance details

Defined in Amazonka.EC2.Types.PrivateDnsNameOptionsRequest

Associated Types

type Rep PrivateDnsNameOptionsRequest :: Type -> Type #

Read PrivateDnsNameOptionsRequest Source # 
Instance details

Defined in Amazonka.EC2.Types.PrivateDnsNameOptionsRequest

Show PrivateDnsNameOptionsRequest Source # 
Instance details

Defined in Amazonka.EC2.Types.PrivateDnsNameOptionsRequest

NFData PrivateDnsNameOptionsRequest Source # 
Instance details

Defined in Amazonka.EC2.Types.PrivateDnsNameOptionsRequest

Eq PrivateDnsNameOptionsRequest Source # 
Instance details

Defined in Amazonka.EC2.Types.PrivateDnsNameOptionsRequest

Hashable PrivateDnsNameOptionsRequest Source # 
Instance details

Defined in Amazonka.EC2.Types.PrivateDnsNameOptionsRequest

type Rep PrivateDnsNameOptionsRequest Source # 
Instance details

Defined in Amazonka.EC2.Types.PrivateDnsNameOptionsRequest

type Rep PrivateDnsNameOptionsRequest = D1 ('MetaData "PrivateDnsNameOptionsRequest" "Amazonka.EC2.Types.PrivateDnsNameOptionsRequest" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "PrivateDnsNameOptionsRequest'" 'PrefixI 'True) (S1 ('MetaSel ('Just "enableResourceNameDnsAAAARecord") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "enableResourceNameDnsARecord") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "hostnameType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe HostnameType)))))

newPrivateDnsNameOptionsRequest :: PrivateDnsNameOptionsRequest Source #

Create a value of PrivateDnsNameOptionsRequest 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:enableResourceNameDnsAAAARecord:PrivateDnsNameOptionsRequest', privateDnsNameOptionsRequest_enableResourceNameDnsAAAARecord - Indicates whether to respond to DNS queries for instance hostnames with DNS AAAA records.

$sel:enableResourceNameDnsARecord:PrivateDnsNameOptionsRequest', privateDnsNameOptionsRequest_enableResourceNameDnsARecord - Indicates whether to respond to DNS queries for instance hostnames with DNS A records.

$sel:hostnameType:PrivateDnsNameOptionsRequest', privateDnsNameOptionsRequest_hostnameType - The type of hostname for EC2 instances. For IPv4 only subnets, an instance DNS name must be based on the instance IPv4 address. For IPv6 only subnets, an instance DNS name must be based on the instance ID. For dual-stack subnets, you can specify whether DNS names use the instance IPv4 address or the instance ID.

privateDnsNameOptionsRequest_enableResourceNameDnsAAAARecord :: Lens' PrivateDnsNameOptionsRequest (Maybe Bool) Source #

Indicates whether to respond to DNS queries for instance hostnames with DNS AAAA records.

privateDnsNameOptionsRequest_enableResourceNameDnsARecord :: Lens' PrivateDnsNameOptionsRequest (Maybe Bool) Source #

Indicates whether to respond to DNS queries for instance hostnames with DNS A records.

privateDnsNameOptionsRequest_hostnameType :: Lens' PrivateDnsNameOptionsRequest (Maybe HostnameType) Source #

The type of hostname for EC2 instances. For IPv4 only subnets, an instance DNS name must be based on the instance IPv4 address. For IPv6 only subnets, an instance DNS name must be based on the instance ID. For dual-stack subnets, you can specify whether DNS names use the instance IPv4 address or the instance ID.