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

Description

 
Synopsis

Documentation

data NatGatewayAddress Source #

Describes the IP addresses and network interface associated with a NAT gateway.

See: newNatGatewayAddress smart constructor.

Constructors

NatGatewayAddress' 

Fields

Instances

Instances details
FromXML NatGatewayAddress Source # 
Instance details

Defined in Amazonka.EC2.Types.NatGatewayAddress

Generic NatGatewayAddress Source # 
Instance details

Defined in Amazonka.EC2.Types.NatGatewayAddress

Associated Types

type Rep NatGatewayAddress :: Type -> Type #

Read NatGatewayAddress Source # 
Instance details

Defined in Amazonka.EC2.Types.NatGatewayAddress

Show NatGatewayAddress Source # 
Instance details

Defined in Amazonka.EC2.Types.NatGatewayAddress

NFData NatGatewayAddress Source # 
Instance details

Defined in Amazonka.EC2.Types.NatGatewayAddress

Methods

rnf :: NatGatewayAddress -> () #

Eq NatGatewayAddress Source # 
Instance details

Defined in Amazonka.EC2.Types.NatGatewayAddress

Hashable NatGatewayAddress Source # 
Instance details

Defined in Amazonka.EC2.Types.NatGatewayAddress

type Rep NatGatewayAddress Source # 
Instance details

Defined in Amazonka.EC2.Types.NatGatewayAddress

type Rep NatGatewayAddress = D1 ('MetaData "NatGatewayAddress" "Amazonka.EC2.Types.NatGatewayAddress" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "NatGatewayAddress'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "allocationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "networkInterfaceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "privateIp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "publicIp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newNatGatewayAddress :: NatGatewayAddress Source #

Create a value of NatGatewayAddress 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:allocationId:NatGatewayAddress', natGatewayAddress_allocationId - [Public NAT gateway only] The allocation ID of the Elastic IP address that's associated with the NAT gateway.

$sel:networkInterfaceId:NatGatewayAddress', natGatewayAddress_networkInterfaceId - The ID of the network interface associated with the NAT gateway.

$sel:privateIp:NatGatewayAddress', natGatewayAddress_privateIp - The private IP address associated with the NAT gateway.

$sel:publicIp:NatGatewayAddress', natGatewayAddress_publicIp - [Public NAT gateway only] The Elastic IP address associated with the NAT gateway.

natGatewayAddress_allocationId :: Lens' NatGatewayAddress (Maybe Text) Source #

Public NAT gateway only
The allocation ID of the Elastic IP address that's associated with the NAT gateway.

natGatewayAddress_networkInterfaceId :: Lens' NatGatewayAddress (Maybe Text) Source #

The ID of the network interface associated with the NAT gateway.

natGatewayAddress_privateIp :: Lens' NatGatewayAddress (Maybe Text) Source #

The private IP address associated with the NAT gateway.

natGatewayAddress_publicIp :: Lens' NatGatewayAddress (Maybe Text) Source #

Public NAT gateway only
The Elastic IP address associated with the NAT gateway.