SCP::VPC::NatGateway
SCP::VPC::NatGateway
SCP::VPC::NatGateway
Description
A NAT gateway that connects a VPC subnet to the internet using public IP addresses, with multi-zone support.
Version
1.3.0
Syntax
To declare this entity in your Infrastructure Builder template, use the following syntax:
JSON
{
"Type" : "SCP::VPC::NatGateway",
"Properties" : {
"SubnetId" : "String",
"PublicipIds" : [String],
"MultiZoneEnabled" : "Boolean",
"Description" : "String"
}
}
YAML
Type: SCP::VPC::NatGateway
Properties:
SubnetId: String
PublicipIds: [String]
MultiZoneEnabled: Boolean
Description: String
Properties
SubnetId
The identifier of the subnet that the NAT gateway belongs to.
| Attribute | Value |
|---|---|
| Required | Yes |
| Type | String |
| Update requires | Replacement |
PublicipIds
A list of public IP address identifiers to use for outbound traffic.
| Attribute | Value |
|---|---|
| Required | Yes |
| Type | Array of String |
| Update requires | Replacement |
MultiZoneEnabled
Indicates whether multi-zone availability is enabled for the NAT gateway.
| Attribute | Value |
|---|---|
| Required | No |
| Type | Boolean |
| Update requires | Replacement |
Description
A brief explanation or note about this resource that identifies the purpose or usage of the resource, up to 50 characters.
| Attribute | Value |
|---|---|
| Required | No |
| Type | String |
| Length constraints | Max: 50 |
| Update requires | No interruption |
Return Values
Ref
When you pass the logical ID of this resource to the Ref function, Ref returns the value of the Id.
Fn::GetAtt
| Attribute | Description |
|---|---|
| SubnetId | The identifier of the subnet that the NAT gateway belongs to. |
| PublicipIds | A list of public IP address identifiers to use for outbound traffic. |
| MultiZoneEnabled | Indicates whether multi-zone availability is enabled for the NAT gateway. |
| Description | A brief explanation or note about this resource that identifies the purpose or usage of the resource, up to 50 characters. |
| Name | The name of the NAT gateway. |
| VpcId | The identifier of the VPC that the NAT gateway belongs to. |
| VpcName | The name of the VPC that the NAT gateway belongs to. |
| SubnetName | The name of the subnet that the NAT gateway belongs to. |
| SubnetCidr | The IP address range of the subnet in CIDR notation. |
| AccountId | The identifier of the account that owns the NAT gateway. |
| State | The current lifecycle state of the NAT gateway. |
| NatGatewayIps | A list of IP addresses assigned to the NAT gateway. |