Attaches an Internet gateway to a VPC, enabling connectivity between the Internet and the VPC.
| C# |
public class AttachInternetGatewayRequest : EC2Request
| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description |
|---|---|---|
| AttachInternetGatewayRequest()()()() | Initializes a new instance of the AttachInternetGatewayRequest class | |
| Equals(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.
|
| Object | ||
| EC2Request | ||
| AttachInternetGatewayRequest | ||