AWS SDK for .NET Documentation
AttachVpnGateway Method (request)
AmazonAmazon.EC2AmazonEC2ClientAttachVpnGateway(AttachVpnGatewayRequest) Did this page help you?   Yes   No    Tell us about it...
Attaches a virtual private gateway to a VPC.
Declaration Syntax
C#
public AttachVpnGatewayResponse AttachVpnGateway(
	AttachVpnGatewayRequest request
)
Parameters
request (AttachVpnGatewayRequest)
Attach Vpn Gateway request
Return Value
Attach Vpn Gateway Response from the service
Remarks
This is the last step required to get your VPC fully connected to your data center before launching instances in it.
Exceptions

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)