EC2 / Client / enable_route_server_propagation

enable_route_server_propagation

EC2.Client.enable_route_server_propagation(**kwargs)

Defines which route tables the route server can update with routes.

When enabled, route server propagation installs the routes in the FIB on the route table you’ve specified. Route server supports IPv4 and IPv6 route propagation.

For more information see Dynamic routing in your VPC with VPC Route Server in the Amazon VPC User Guide.

See also: AWS API Documentation

Request Syntax

response = client.enable_route_server_propagation(
    RouteServerId='string',
    RouteTableId='string',
    DryRun=True|False
)
Parameters:
  • RouteServerId (string) –

    [REQUIRED]

    The ID of the route server for which to enable propagation.

  • RouteTableId (string) –

    [REQUIRED]

    The ID of the route table to which route server will propagate routes.

  • DryRun (boolean) – A check for 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.

Return type:

dict

Returns:

Response Syntax

{
    'RouteServerPropagation': {
        'RouteServerId': 'string',
        'RouteTableId': 'string',
        'State': 'pending'|'available'|'deleting'
    }
}

Response Structure

  • (dict) –

    • RouteServerPropagation (dict) –

      Information about the enabled route server propagation.

      • RouteServerId (string) –

        The ID of the route server configured for route propagation.

      • RouteTableId (string) –

        The ID of the route table configured for route server propagation.

      • State (string) –

        The current state of route propagation.