Skip to content

ReplaceTransitGatewayRouteRequest

Source code in docs_src/capo_ec2/types/replace_transit_gateway_route_request.py
class ReplaceTransitGatewayRouteRequest(TypedDict, closed=True):
    destination_cidr_block: NotRequired["capo_ec2.types.string.String"]
    """<p>The CIDR range used for the destination match. Routing decisions are based on the most specific match.</p>"""
    transit_gateway_route_table_id: NotRequired[
        "capo_ec2.types.transit_gateway_route_table_id.TransitGatewayRouteTableId"
    ]
    """<p>The ID of the route table.</p>"""
    transit_gateway_attachment_id: NotRequired[
        "capo_ec2.types.transit_gateway_attachment_id.TransitGatewayAttachmentId"
    ]
    """<p>The ID of the attachment.</p>"""
    blackhole: NotRequired["capo_ec2.types.boolean.Boolean"]
    """<p>Indicates whether traffic matching this route is to be dropped.</p>"""
    dry_run: NotRequired["capo_ec2.types.boolean.Boolean"]
    """<p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>"""

blackhole instance-attribute

blackhole: NotRequired[Boolean]

Indicates whether traffic matching this route is to be dropped.

destination_cidr_block instance-attribute

destination_cidr_block: NotRequired[String]

The CIDR range used for the destination match. Routing decisions are based on the most specific match.

dry_run instance-attribute

dry_run: NotRequired[Boolean]

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

transit_gateway_attachment_id instance-attribute

transit_gateway_attachment_id: NotRequired[TransitGatewayAttachmentId]

The ID of the attachment.

transit_gateway_route_table_id instance-attribute

transit_gateway_route_table_id: NotRequired[TransitGatewayRouteTableId]

The ID of the route table.