Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

awscc.ec2_internet_gateway

CloudFormation Type: AWS::EC2::InternetGateway

Allocates an internet gateway for use with a VPC. After creating the Internet gateway, you then attach it to a VPC.

Attributes

NameTypeRequiredDescription
internet_gateway_idString(read-only)
tagsMapNoAny tags to assign to the internet gateway.

Example

awscc.ec2_internet_gateway {
  name = "example-igw"

  tags = {
    Environment = "example"
  }
}