CreateVpnConnection
GET /?Action=CreateVpnConnection
Description
Creates a VPN connection between a specified virtual private gateway and a specified customer gateway.
You can create only one VPN connection between a virtual private gateway and a customer gateway.
Body parameter
Required: false
Name: CreateVpnConnectionRequest
Name | Description | Required | Schema | Default | Example |
---|---|---|---|---|---|
CustomerGatewayId |
The ID of the customer gateway. |
true |
string |
||
DryRun |
If set to |
false |
boolean |
||
Options |
Options for the VPN connection. |
false |
|||
Type |
The type of VPN connection (only ipsec.1 is supported). |
true |
string |
||
VpnGatewayId |
The ID of the virtual private gateway. |
true |
string |
Responses
HTTP Code 200
HTTP Code | Description | Schema |
---|---|---|
200 |
CreateVpnConnectionResult |
Response 200
Name | Description | Required | Schema | Default | Example |
---|---|---|---|---|---|
requestId |
The ID of the request. |
false |
string |
||
vpnConnection |
Information about the VPN connection. |
false |