View a markdown version of this page

AWS::NetworkManager::ConnectAttachment NatRule - Amazon CloudFormation
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).

This is the new Amazon CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the Amazon CloudFormation User Guide.

AWS::NetworkManager::ConnectAttachment NatRule

Describes a NAT rule of an attachment.

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

{ "MatchSourceCidr" : String, "NatCidr" : String, "RuleNumber" : Integer }

YAML

MatchSourceCidr: String NatCidr: String RuleNumber: Integer

Properties

MatchSourceCidr

The source CIDR block that the rule matches for traffic from the attachment.

Required: Yes

Type: String

Pattern: ^((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)/([0-9]|[1-2][0-9]|3[0-2])$

Minimum: 9

Maximum: 18

Update requires: No interruption

NatCidr

The CIDR block that matching source addresses are translated to.

Required: Yes

Type: String

Pattern: ^((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)/([0-9]|[1-2][0-9]|3[0-2])$

Minimum: 9

Maximum: 18

Update requires: No interruption

RuleNumber

The rule number. Rule numbers identify the rules of an attachment and don't set the order in which rules are evaluated.

Required: Yes

Type: Integer

Minimum: 1

Maximum: 32766

Update requires: No interruption