CreateVpnConnectionRoute

GET /?Action=CreateVpnConnectionRoute
Description

Creates a static route to a VPN connection.
This enables you to select the network flows sent by the virtual private gateway to the target VPN connection.

Body parameter

Required: false
Name: CreateVpnConnectionRouteRequest

Name Description Required Schema Default Example

DestinationCidrBlock

The network prefix of the route, in CIDR notation (for example, 10.12.0.0/16).

true

string

DryRun

If set to true, checks whether you have the required permissions to perform the action.

false

boolean

VpnConnectionId

The ID of target VPN connection of the static route.

true

string

Responses
HTTP Code 200
HTTP Code Description Schema

200

CreateVpnConnectionRouteResult

Response 200

Response 200

Name Description Required Schema Default Example

requestId

The ID of the request.

false

string

return

If true, the request succeeds. Otherwise, an error is returned.

false

boolean