Skip to content

EC2  >  Dictionaries  >  TransitGatewayRequestPolicyRuleDict

TransitGatewayRequestPolicyRuleDict

Dictionary Type

TransitGatewayRequestPolicyRuleDict

Bases: TypedDict

Dictionary form of TransitGatewayRequestPolicyRule.

Attributes

destination_cidr_block instance-attribute
destination_cidr_block: str | None

The destination CIDR block for the policy rule.

destination_port_range instance-attribute
destination_port_range: str | None

The destination port or port range for the policy rule. You can specify a port range only when Protocol is 6 (TCP) or 17 (UDP); for all other protocols, this value must be *.

meta_data instance-attribute

The metadata key-value pair for the policy rule.

protocol instance-attribute
protocol: str | None

The protocol for the policy rule. Valid values are 1 (ICMP), 6 (TCP), 17 (UDP), 47 (GRE), or * for all protocols.

source_cidr_block instance-attribute
source_cidr_block: str | None

The source CIDR block for the policy rule.

source_port_range instance-attribute
source_port_range: str | None

The source port or port range for the policy rule. You can specify a port range only when Protocol is 6 (TCP) or 17 (UDP); for all other protocols, this value must be *.