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

aws.ec2.internet_gateway

CloudFormation Type: AWS::EC2::InternetGateway

Describes an internet gateway.

Example

let vpc = aws.ec2.vpc {
  cidr_block = "10.0.0.0/16"

  tags = {
    Environment = "example"
  }
}

let igw = aws.ec2.internet_gateway {
  vpc_id = vpc.vpc_id

  tags = {
    Environment = "example"
  }
}

Argument Reference

tags

  • Type: Map
  • Required: No

The tags for the resource.

Attribute Reference

internet_gateway_id

  • Type: internet_gateway_id