Deletes an Internet gateway from your AWS account. The gateway must not be attached to a VPC. For more information about your VPC and Internet gateway, go to Amazon Virtual Private Cloud User Guide.
Namespace: Amazon.EC2
Assembly: AWSSDK.dll
Version: 2.0.0.3
Syntax
public virtual DeleteInternetGatewayResponse DeleteInternetGateway( DeleteInternetGatewayRequest deleteInternetGatewayRequest )
Parameters
- deleteInternetGatewayRequest
-
Type: Amazon.EC2.Model.DeleteInternetGatewayRequest
Container for the necessary parameters to execute the DeleteInternetGateway service method on AmazonEC2.
Version Information
.NET Framework:
Supported in: 4.5, 4.0, 3.5