EnableVgwRoutePropagation#

Description#

Enables route propagation from a VPN gateway (VGW) to a route table.

You can enable route propagation to only one route table. For convenience, vgw_id is identical to vpc_id (vgw-ABCD1234 / vpc-ABCD1234). You can also use the DescribeVpnGateways method to get vgw_id.

Request Parameters#

  • GatewayId — The ID of the VPN gateway (VGW).

    • Type: String

    • Required: Yes

  • RouteTableId — The ID of the route table.

    • Type: String

    • Required: Yes

Response Elements#

  • requestId — The request ID.

    • Type: String

  • returnTrue is returned if the request succeeds, and an error otherwise.

    • Type: Boolean

Examples#

c2-ec2 EnableVgwRoutePropagation GatewayId vgw-ABCD1234 RouteTableId rtb-ABCD1234

aws <...> enable-vgw-route-propagation --gateway-id vpc-ABCD1234 --route-table-id rtb-ABCD1234