EC2 / Client / enable_transit_gateway_route_table_propagation

enable_transit_gateway_route_table_propagation#

EC2.Client.enable_transit_gateway_route_table_propagation(**kwargs)#

Enables the specified attachment to propagate routes to the specified propagation route table.

See also: AWS API Documentation

Request Syntax

response = client.enable_transit_gateway_route_table_propagation(
    TransitGatewayRouteTableId='string',
    TransitGatewayAttachmentId='string',
    DryRun=True|False,
    TransitGatewayRouteTableAnnouncementId='string'
)
Parameters:
  • TransitGatewayRouteTableId (string) –

    [REQUIRED]

    The ID of the propagation route table.

  • TransitGatewayAttachmentId (string) – The ID of the attachment.

  • DryRun (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.

  • TransitGatewayRouteTableAnnouncementId (string) – The ID of the transit gateway route table announcement.

Return type:

dict

Returns:

Response Syntax

{
    'Propagation': {
        'TransitGatewayAttachmentId': 'string',
        'ResourceId': 'string',
        'ResourceType': 'vpc'|'vpn'|'direct-connect-gateway'|'connect'|'peering'|'tgw-peering',
        'TransitGatewayRouteTableId': 'string',
        'State': 'enabling'|'enabled'|'disabling'|'disabled',
        'TransitGatewayRouteTableAnnouncementId': 'string'
    }
}

Response Structure

  • (dict) –

    • Propagation (dict) –

      Information about route propagation.

      • TransitGatewayAttachmentId (string) –

        The ID of the attachment.

      • ResourceId (string) –

        The ID of the resource.

      • ResourceType (string) –

        The resource type. Note that the tgw-peering resource type has been deprecated.

      • TransitGatewayRouteTableId (string) –

        The ID of the transit gateway route table.

      • State (string) –

        The state.

      • TransitGatewayRouteTableAnnouncementId (string) –

        The ID of the transit gateway route table announcement.