Skip to content

TransitGatewayRoute

Source code in docs_src/capo_ec2/types/transit_gateway_route.py
class TransitGatewayRoute(TypedDict, closed=True):
    destination_cidr_block: NotRequired["capo_ec2.types.string.String"]
    """<p>The CIDR block used for destination matches.</p>"""
    prefix_list_id: NotRequired[
        "capo_ec2.types.prefix_list_resource_id.PrefixListResourceId"
    ]
    """<p>The ID of the prefix list used for destination matches.</p>"""
    transit_gateway_route_table_announcement_id: NotRequired[
        "capo_ec2.types.transit_gateway_route_table_announcement_id.TransitGatewayRouteTableAnnouncementId"
    ]
    """<p>The ID of the transit gateway route table announcement. </p>"""
    transit_gateway_attachments: NotRequired[
        "capo_ec2.types.transit_gateway_route_attachment_list.TransitGatewayRouteAttachmentList"
    ]
    """<p>The attachments.</p>"""
    type: NotRequired[
        "capo_ec2.types.transit_gateway_route_type.TransitGatewayRouteType"
    ]
    """<p>The route type.</p>"""
    state: NotRequired[
        "capo_ec2.types.transit_gateway_route_state.TransitGatewayRouteState"
    ]
    """<p>The state of the route.</p>"""

destination_cidr_block instance-attribute

destination_cidr_block: NotRequired[String]

The CIDR block used for destination matches.

prefix_list_id instance-attribute

prefix_list_id: NotRequired[PrefixListResourceId]

The ID of the prefix list used for destination matches.

state instance-attribute

state: NotRequired[TransitGatewayRouteState]

The state of the route.

transit_gateway_attachments instance-attribute

transit_gateway_attachments: NotRequired[TransitGatewayRouteAttachmentList]

The attachments.

transit_gateway_route_table_announcement_id instance-attribute

transit_gateway_route_table_announcement_id: NotRequired[
    TransitGatewayRouteTableAnnouncementId
]

The ID of the transit gateway route table announcement.

type instance-attribute

type: NotRequired[TransitGatewayRouteType]

The route type.