Skip to content

EC2  >  Structures  >  TransitGatewayPolicyRule

TransitGatewayPolicyRule

Structure Class

TransitGatewayPolicyRule dataclass

Bases: _SerdeShape

Describes a rule associated with a transit gateway policy.

Attributes

destination_cidr_block class-attribute instance-attribute
destination_cidr_block: str | None = ...

The destination CIDR block for the transit gateway policy rule.

destination_port_range class-attribute instance-attribute
destination_port_range: str | None = ...

The destination port or port range for the transit gateway policy rule.

meta_data class-attribute instance-attribute
meta_data: TransitGatewayPolicyRuleMetaData | None = ...

The meta data tags used for the transit gateway policy rule.

protocol class-attribute instance-attribute
protocol: str | None = ...

The protocol used by the transit gateway policy rule.

source_cidr_block class-attribute instance-attribute
source_cidr_block: str | None = ...

The source CIDR block for the transit gateway policy rule.

source_port_range class-attribute instance-attribute
source_port_range: str | None = ...

The source port or port range for the transit gateway policy rule.