AWS SDK for .NET Documentation
CreateInternetGateway Method (request)
Amazon ► Amazon.EC2 ► AmazonEC2Client ► CreateInternetGateway(CreateInternetGatewayRequest)
Did this page help you? Yes No Tell us about it...
Creates a new Internet gateway in your AWS account. After creating the Internet gateway, you attach it to a VPC using AttachInternetGateway.
Declaration Syntax

C#

    public CreateInternetGatewayResponse CreateInternetGateway(
    	CreateInternetGatewayRequest request
    )

Parameters

request (CreateInternetGatewayRequest)
  Create Internet Gateway request

Return Value
Create Internet Gateway Response from the service
Exceptions

Exception | Condition
--- | ---
WebException |
AmazonEC2Exception |

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