All Products
Search
Document Center

Resource Orchestration Service:DATASOURCE::VPC::NatGatewayZones

Last Updated:Dec 26, 2024

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:

  • Never (default): does not refresh data source resources when the stack is updated.

  • Always: refreshes data source resources when the stack is updated.

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