Detaches an Internet gateway from a VPC, disabling connectivity
between the Internet and the VPC.

C# |
public class DetachInternetGatewayRequest : EC2Request

All Members | Constructors | Methods | Properties | ||
Icon | Member | Description |
---|---|---|
![]() | DetachInternetGatewayRequest()()()() | Initializes a new instance of the DetachInternetGatewayRequest 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 detach.
|
![]() | 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 detach.
|
![]() | WithVpcId(String) | Obsolete.
Sets the ID of the VPC.
|

The VPC must not contain any running instances with elastic IP
addresses. For more information about your VPC and Internet gateway,
go to Amazon Virtual Private Cloud User Guide.

Object | ||
![]() | EC2Request | |
![]() | DetachInternetGatewayRequest |