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 |
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
Name | Description | Required | Schema | Default | Example |
---|---|---|---|---|---|
requestId |
The ID of the request. |
false |
string |
||
return |
If |
false |
boolean |