/AWS1/CL_EC2=>ATTACHVPNGATEWAY()
¶
About AttachVpnGateway¶
Attaches an available virtual private gateway to a VPC. You can attach one virtual private gateway to one VPC at a time.
For more information, see Amazon Web Services Site-to-Site VPN in the Amazon Web Services Site-to-Site VPN User Guide.
Method Signature¶
IMPORTING¶
Required arguments:¶
IV_VPCID
TYPE /AWS1/EC2VPCID
/AWS1/EC2VPCID
¶
The ID of the VPC.
IV_VPNGATEWAYID
TYPE /AWS1/EC2VPNGATEWAYID
/AWS1/EC2VPNGATEWAYID
¶
The ID of the virtual private gateway.
Optional arguments:¶
IV_DRYRUN
TYPE /AWS1/EC2BOOLEAN
/AWS1/EC2BOOLEAN
¶
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation
. Otherwise, it isUnauthorizedOperation
.