AWS SDK for .NET Documentation
AttachInternetGateway Method (request)
Amazon ► Amazon.EC2 ► AmazonEC2 ► AttachInternetGateway(AttachInternetGatewayRequest)
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#

    AttachInternetGatewayResponse AttachInternetGateway(
    	AttachInternetGatewayRequest request
    )

Parameters

request (AttachInternetGatewayRequest)
  Attach Internet Gateway request

Return Value
Attach Internet Gateway Response from the service
Exceptions

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

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