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 What is NAT Gateway?

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"
        ]
      }
    }
  }
}