AWS Fundamentals Logo
AWS Fundamentals
AWS::EC2::TransitGatewayRouteTable

EC2 TransitGatewayRouteTable

Resource Type definition for AWS::EC2::TransitGatewayRouteTable

Properties

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

Filter:
PropertyTypeFlags
TransitGatewayId
string
RequiredCreate-only
Tags
Array<Tag>

Return Values

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

AttributeTypeDescription
TransitGatewayRouteTableIdstringTransit Gateway Route Table primary identifier

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::TransitGatewayRouteTable

Resources:
  MyResource:
    Type: AWS::EC2::TransitGatewayRouteTable
    Properties:
      TransitGatewayId: "my-transitgatewayid"
      Tags:
        - Key: Environment
          Value: Production

Required IAM Permissions

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

read

ec2:DescribeTransitGatewayRouteTables

create

ec2:CreateTransitGatewayRouteTableec2:CreateTagsec2:DescribeTransitGatewayRouteTables

update

ec2:DescribeTransitGatewayRouteTablesec2:CreateTagsec2:DeleteTags

list

ec2:DescribeTransitGatewayRouteTables

delete

ec2:DeleteTransitGatewayRouteTableec2:DescribeTransitGatewayRouteTablesec2:GetTransitGatewayRouteTableAssociationsec2:DisassociateTransitGatewayRouteTable

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
Properties3
Required1
TaggingSupported
Primary IDTransitGatewayRouteTableId

Supported Operations

ReadCreateUpdateListDelete

Immutable After Creation

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

TransitGatewayId

External Links