Skip to content

EC2  >  Dictionaries  >  TransitGatewayNatRuleRequestDict

TransitGatewayNatRuleRequestDict

Dictionary Type

TransitGatewayNatRuleRequestDict

Bases: TypedDict

Dictionary form of TransitGatewayNatRuleRequest.

Attributes

match_source_cidr instance-attribute
match_source_cidr: str | None

The IPv4 CIDR block of the source addresses to translate. The CIDR block can't overlap the multicast range (224.0.0.0/4) or the link-local range (169.254.0.0/16).

nat_cidr instance-attribute
nat_cidr: str | None

The IPv4 CIDR block to translate the source addresses to. The CIDR block must be in a private (RFC 1918) or shared address space (RFC 6598) range, and must have the same prefix length as MatchSourceCidr. The CIDR blocks in the rules for an attachment can't overlap each other.

rule_number instance-attribute
rule_number: int | None

The rule number. Valid values are 1 to 32766. Each rule number must be unique within the request.