AWS::EC2::InternetGatewayAllocates an internet gateway for use with a VPC. After creating the Internet gateway, you then attach it to a VPC.
1 configurable property. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
Tags | Array<Tag> |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
InternetGatewayId | string | - |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::EC2::InternetGateway
Resources:
MyResource:
Type: AWS::EC2::InternetGateway
Properties:
Tags:
- Key: Environment
Value: ProductionPermissions CloudFormation needs in your IAM role to manage this resource.
ec2:CreateInternetGatewayec2:CreateTagsec2:DescribeInternetGatewaysec2:DescribeInternetGatewaysec2:DeleteInternetGatewayec2:DescribeInternetGatewaysec2:DeleteTagsec2:CreateTagsec2:DescribeInternetGatewaysec2:DescribeInternetGatewaysEverything you need to know about EC2 on one page. HD quality, print-friendly.
Download Free InfographicInternetGatewayId