stratosphere-0.1.0: 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.

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.