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.route_table

CloudFormation Type: AWS::EC2::RouteTable

Describes a route table.

Example

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

  tags = {
    Environment = "example"
  }
}

let rt = aws.ec2.route_table {
  vpc_id = vpc.vpc_id

  tags = {
    Environment = "example"
  }
}

Argument Reference

vpc_id

  • Type: VpcId
  • Required: Yes

The ID of the VPC.

tags

  • Type: Map
  • Required: No

The tags for the resource.

Attribute Reference

route_table_id

  • Type: route_table_id