AttachVpnGateway

GET /?Action=AttachVpnGateway
Description

Attaches a virtual private gateway to a VPC.

Body parameter

Required: false
Name: AttachVpnGatewayRequest

Name Description Required Schema Default Example

DryRun

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

false

boolean

VpcId

The ID of the VPC.

true

string

VpnGatewayId

The ID of the virtual private gateway.

true

string

Responses
HTTP Code 200
HTTP Code Description Schema

200

AttachVpnGatewayResult

Response 200

Response 200

Name Description Required Schema Default Example

attachment

Information about the attachment.

false

VpcAttachment

requestId

The ID of the request.

false

string