Use CreateInternetGateway
with a CLI
The following code examples show how to use CreateInternetGateway
.
Action examples are code excerpts from larger programs and must be run in context. You can see this action in context in the following code examples:
For a complete list of AWS SDK developer guides and code examples, see Create Amazon EC2 resources using an AWS SDK. This topic also includes information about getting started and details about previous SDK versions.