AWS Fundamentals Logo
AWS Fundamentals
AWS::EC2::LocalGatewayRouteTable

EC2 LocalGatewayRouteTable

Resource Type definition for Local Gateway Route Table which describes a route table for a local gateway.

Properties

3 configurable properties. 1 required. Click a row to see details.

Filter:
PropertyTypeFlags
LocalGatewayId
string
RequiredCreate-only
Mode
string
Create-only
Tags
array

Return Values

Values returned after the resource is created. Access these with Fn::GetAtt.

AttributeTypeDescription
LocalGatewayRouteTableArnstringThe ARN of the local gateway route table.
LocalGatewayRouteTableIdstringThe ID of the local gateway route table.
OutpostArnstringThe ARN of the outpost.
OwnerIdstringThe owner of the local gateway route table.
StatestringThe state of the local gateway route table.

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::EC2::LocalGatewayRouteTable

Resources:
  MyResource:
    Type: AWS::EC2::LocalGatewayRouteTable
    Properties:
      LocalGatewayId: "my-localgatewayid"
      Tags:
        - Key: Environment
          Value: Production

Required IAM Permissions

Permissions CloudFormation needs in your IAM role to manage this resource.

create

ec2:CreateLocalGatewayRouteTableec2:DescribeLocalGatewayRouteTablesec2:CreateTags

read

ec2:DescribeLocalGatewayRouteTablesec2:DescribeTags

update

ec2:DescribeLocalGatewayRouteTablesec2:CreateTagsec2:DeleteTagsec2:DescribeTags

delete

ec2:DeleteLocalGatewayRouteTableec2:DescribeLocalGatewayRouteTablesec2:DeleteTags

list

ec2:DescribeLocalGatewayRouteTables

Get the EC2 Cheat Sheet

Everything you need to know about EC2 on one page. HD quality, print-friendly.

Download Free Infographic

Quick Facts

ServiceEC2
Properties8
Required1
TaggingSupported
Primary IDLocalGatewayRouteTableId

Supported Operations

CreateReadUpdateDeleteList

Immutable After Creation

These properties cannot be changed after the resource is created. Updating them triggers a replacement.

LocalGatewayIdMode

External Links