stratosphere-0.2.1: EDSL for AWS CloudFormation

Safe HaskellNone
LanguageHaskell2010

Stratosphere.Resources.NatGateway

Description

The AWS::EC2::NatGateway resource creates a network address translation (NAT) gateway in the specified public subnet. Use a NAT gateway to allow instances in a private subnet to connect to the Internet or to other AWS services, but prevent the Internet from initiating a connection with those instances. For more information and a sample architectural diagram, see NAT Gateways in the Amazon VPC User Guide.

Synopsis

Documentation

data NatGateway Source #

Full data type definition for NatGateway. See natGateway for a more convenient constructor.

Instances

Show NatGateway Source # 
Generic NatGateway Source # 

Associated Types

type Rep NatGateway :: * -> * #

ToJSON NatGateway Source # 
FromJSON NatGateway Source # 
type Rep NatGateway Source # 
type Rep NatGateway = D1 (MetaData "NatGateway" "Stratosphere.Resources.NatGateway" "stratosphere-0.2.1-7UjeTxLOKRACY1vyFAxa7V" False) (C1 (MetaCons "NatGateway" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_natGatewayAllocationId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Val Text))) (S1 (MetaSel (Just Symbol "_natGatewaySubnetId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Val Text)))))

natGateway Source #

Constructor for NatGateway containing required fields as arguments.

ngAllocationId :: Lens' NatGateway (Val Text) Source #

The allocation ID of an Elastic IP address to associate with the NAT gateway. If the Elastic IP address is associated with another resource, you must first disassociate it.

ngSubnetId :: Lens' NatGateway (Val Text) Source #

The public subnet in which to create the NAT gateway.