View a markdown version of this page

TransitGatewayNatRule - Amazon Elastic Compute Cloud
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

TransitGatewayNatRule

Contains information about a NAT gateway rule for a transit gateway attachment, including the rule number, the source CIDR block, the translated CIDR block, and the state of the rule.

Contents

matchSourceCidr

The IPv4 CIDR block of the source addresses to translate.

Type: String

Required: No

natCidr

The IPv4 CIDR block that the transit gateway translates the source addresses to.

Type: String

Required: No

ruleNumber

The rule number.

Type: Integer

Required: No

state

The state of the NAT gateway rule. The possible values are:

  • pending - The transit gateway is applying a change to the rule.

  • activated - The rule is in effect because NAT gateway support is enabled for the attachment.

  • deactivated - The rule isn't in effect because NAT gateway support is disabled for the attachment.

Type: String

Valid Values: pending | activated | deactivated | deleting

Required: No

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: