Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

create_vpn_connection_route

create_vpn_connection_route(**kwargs)

Creates a static route associated with a VPN connection between an existing virtual private gateway and a VPN customer gateway. The static route allows traffic to be routed from the virtual private gateway to the VPN customer gateway.

For more information, see Amazon Web Services Site-to-Site VPN in the Amazon Web Services Site-to-Site VPN User Guide .

See also: AWS API Documentation

Request Syntax

response = client.create_vpn_connection_route(
    DestinationCidrBlock='string',
    VpnConnectionId='string'
)
Parameters
  • DestinationCidrBlock (string) --

    [REQUIRED]

    The CIDR block associated with the local subnet of the customer network.

  • VpnConnectionId (string) --

    [REQUIRED]

    The ID of the VPN connection.

Returns

None