Safe Haskell | None |
---|---|
Language | Haskell2010 |
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.
- data NatGateway = NatGateway {}
- natGateway :: Val Text -> Val Text -> NatGateway
- ngAllocationId :: Lens' NatGateway (Val Text)
- ngSubnetId :: Lens' NatGateway (Val Text)
Documentation
data NatGateway Source #
Full data type definition for NatGateway. See natGateway
for a more
convenient constructor.
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.