DATASOURCE::VPC::NatGatewayZones is used to query the zones of a NAT gateway.
Note
NAT gateways are classified into Internet NAT gateways and virtual private cloud (VPC) NAT gateways. For more information, see NAT Gateway.
Syntax
{
"Type": "DATASOURCE::VPC::NatGatewayZones",
"Properties": {
"RefreshOptions": String
}
}
Properties
Property | Type | Required | Editable | Description | Constraint |
RefreshOptions | String | No | Yes | The refresh policy for data source resources when the stack is updated. | Valid values:
|
Return values
Fn::GetAtt
ZoneIds: the IDs of the zones.
Examples
JSON
format
{
"ROSTemplateFormatVersion": "2015-09-01",
"Resources": {
"ExtensionDataSource": {
"Type": "DATASOURCE::VPC::NatGatewayZones"
}
},
"Outputs": {
"ZoneIds": {
"Description": "The list of The Zone Ids.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"ZoneIds"
]
}
}
}
}