Skip to content

EC2  >  Structures  >  TransitGatewayRoute

TransitGatewayRoute

Structure Class

TransitGatewayRoute dataclass

Bases: _SerdeShape

Describes a route for a transit gateway route table.

Attributes

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

The CIDR block used for destination matches.

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

The ID of the prefix list used for destination matches.

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

The state of the route.

transit_gateway_attachments class-attribute instance-attribute
transit_gateway_attachments: list[TransitGatewayRouteAttachment] | None = ...

The attachments.

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

The ID of the transit gateway route table announcement.

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

The route type.