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::VpcAttachment 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:StringNatCidr:StringRuleNumber: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:
9Maximum:
18Update 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:
9Maximum:
18Update 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:
1Maximum:
32766Update requires: No interruption