AWS SDK for .NET Documentation
AttachInternetGatewayRequest Class
AmazonAmazon.EC2.ModelAttachInternetGatewayRequest Did this page help you?   Yes   No    Tell us about it...
Attaches an Internet gateway to a VPC, enabling connectivity between the Internet and the VPC.
Declaration Syntax
C#
public class AttachInternetGatewayRequest : EC2Request
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
AttachInternetGatewayRequest()()()()
Initializes a new instance of the AttachInternetGatewayRequest 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.)
InternetGatewayId
The ID of the Internet gateway to attach.

IsSetInternetGatewayId()()()()
Checks if InternetGatewayId property is set

IsSetVpcId()()()()
Checks if VpcId property is set

ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
VpcId
The ID of the VPC.

WithInternetGatewayId(String) Obsolete.
Sets the ID of the Internet gateway to attach.

WithVpcId(String) Obsolete.
Sets the ID of the VPC.

Inheritance Hierarchy
Object
EC2Request
 AttachInternetGatewayRequest

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