Readonly
allocation(OPTIONAL) The allocation ID of the Elastic IP address that's associated with the NAT gateway. This allocation ID must exist in the target account the NAT gateway is deployed to.
CAUTION: changing this property after initial deployment will cause a NAT gateway recreation. Please be aware that any downstream dependencies may cause this property update to fail.
NOTE: Leaving this property undefined results in the accelerator provisioning a new elastic IP.
To retrieve the allocationId
of your Elastic IP address, perform the following:
Allocation ID
column. The format
should be eipalloc-abc123xyz
.Readonly
nameA friendly name for the NAT Gateway.
CAUTION: changing this property after initial deployment will cause a NAT gateway recreation. Please be aware that any downstream dependencies may cause this property update to fail.
Readonly
private(OPTIONAL) Set true
to define a NAT gateway with private connectivity type
CAUTION: changing this property after initial deployment will cause a NAT gateway recreation. Please be aware that any downstream dependencies may cause this property update to fail.
Set to false
or leave undefined to create a public-facing NAT gateway
Readonly
subnetThe friendly name of the subnet for the NAT Gateway to be deployed.
CAUTION: changing this property after initial deployment will cause a NAT gateway recreation. Please be aware that any downstream dependencies may cause this property update to fail.
Readonly
tags(OPTIONAL) An array of tag objects for the NAT Gateway.
Generated using TypeDoc
NetworkConfig / VpcConfig | VpcTemplatesConfig / NatGatewayConfig
Network Address Translation (NAT) Gateway configuration. Use this configuration to define AWS-managed NAT Gateways for your VPC. You can use a NAT gateway so that instances in a private subnet can connect to services outside your VPCs.
Example
NAT gateway with accelerator-provisioned elastic IP
NAT gateway with user-provided elastic IP allocation ID
NAT gateway with private connectivity