AWS SDK for .NET Documentation
AttachVpnGatewayRequest Class
AmazonAmazon.EC2.ModelAttachVpnGatewayRequest Did this page help you?   Yes   No    Tell us about it...
Attaches a virtual private gateway to a VPC.
Declaration Syntax
C#
public class AttachVpnGatewayRequest : EC2Request
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
AttachVpnGatewayRequest()()()()
Initializes a new instance of the AttachVpnGatewayRequest class

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the type of the current instance.
(Inherited from Object.)
IsSetVpcId()()()()
Checks if VpcId property is set

IsSetVpnGatewayId()()()()
Checks if VpnGatewayId property is set

ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
VpcId
The ID of the VPC you want to attach to the virtual private gateway

VpnGatewayId
The ID of the virtual private gateway you want to attach to the VPC.

WithVpcId(String) Obsolete.
Sets the ID of the VPC you want to attach to the virtual private gateway

WithVpnGatewayId(String) Obsolete.
Sets the ID of the virtual private gateway you want to attach to the VPC.

Remarks
This is the last step required to get your VPC fully connected to your data center before launching instances in it.
Inheritance Hierarchy
Object
EC2Request
 AttachVpnGatewayRequest

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