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

Description

 
Synopsis

Documentation

data PrivateDnsNameOptionsOnLaunch Source #

Describes the options for instance hostnames.

See: newPrivateDnsNameOptionsOnLaunch smart constructor.

Constructors

PrivateDnsNameOptionsOnLaunch' 

Fields

  • enableResourceNameDnsAAAARecord :: Maybe Bool

    Indicates whether to respond to DNS queries for instance hostname 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
FromXML PrivateDnsNameOptionsOnLaunch Source # 
Instance details

Defined in Amazonka.EC2.Types.PrivateDnsNameOptionsOnLaunch

Generic PrivateDnsNameOptionsOnLaunch Source # 
Instance details

Defined in Amazonka.EC2.Types.PrivateDnsNameOptionsOnLaunch

Associated Types

type Rep PrivateDnsNameOptionsOnLaunch :: Type -> Type #

Read PrivateDnsNameOptionsOnLaunch Source # 
Instance details

Defined in Amazonka.EC2.Types.PrivateDnsNameOptionsOnLaunch

Show PrivateDnsNameOptionsOnLaunch Source # 
Instance details

Defined in Amazonka.EC2.Types.PrivateDnsNameOptionsOnLaunch

NFData PrivateDnsNameOptionsOnLaunch Source # 
Instance details

Defined in Amazonka.EC2.Types.PrivateDnsNameOptionsOnLaunch

Eq PrivateDnsNameOptionsOnLaunch Source # 
Instance details

Defined in Amazonka.EC2.Types.PrivateDnsNameOptionsOnLaunch

Hashable PrivateDnsNameOptionsOnLaunch Source # 
Instance details

Defined in Amazonka.EC2.Types.PrivateDnsNameOptionsOnLaunch

type Rep PrivateDnsNameOptionsOnLaunch Source # 
Instance details

Defined in Amazonka.EC2.Types.PrivateDnsNameOptionsOnLaunch

type Rep PrivateDnsNameOptionsOnLaunch = D1 ('MetaData "PrivateDnsNameOptionsOnLaunch" "Amazonka.EC2.Types.PrivateDnsNameOptionsOnLaunch" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "PrivateDnsNameOptionsOnLaunch'" '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)))))

newPrivateDnsNameOptionsOnLaunch :: PrivateDnsNameOptionsOnLaunch Source #

Create a value of PrivateDnsNameOptionsOnLaunch 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:PrivateDnsNameOptionsOnLaunch', privateDnsNameOptionsOnLaunch_enableResourceNameDnsAAAARecord - Indicates whether to respond to DNS queries for instance hostname with DNS AAAA records.

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

$sel:hostnameType:PrivateDnsNameOptionsOnLaunch', privateDnsNameOptionsOnLaunch_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.

privateDnsNameOptionsOnLaunch_enableResourceNameDnsAAAARecord :: Lens' PrivateDnsNameOptionsOnLaunch (Maybe Bool) Source #

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

privateDnsNameOptionsOnLaunch_enableResourceNameDnsARecord :: Lens' PrivateDnsNameOptionsOnLaunch (Maybe Bool) Source #

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

privateDnsNameOptionsOnLaunch_hostnameType :: Lens' PrivateDnsNameOptionsOnLaunch (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.