AWS Fundamentals Logo
AWS Fundamentals
AWS::EC2::TransitGatewayRouteTableAssociation

EC2 TransitGatewayRouteTableAssociation

Resource Type definition for AWS::EC2::TransitGatewayRouteTableAssociation

Properties

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

Filter:
PropertyTypeFlags
TransitGatewayAttachmentId
string
RequiredCreate-only
TransitGatewayRouteTableId
string
RequiredCreate-only

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

Resources:
  MyResource:
    Type: AWS::EC2::TransitGatewayRouteTableAssociation
    Properties:
      TransitGatewayRouteTableId: "my-transitgatewayroutetableid"
      TransitGatewayAttachmentId: "my-transitgatewayattachmentid"

Required IAM Permissions

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

read

ec2:GetTransitGatewayRouteTableAssociations

create

ec2:AssociateTransitGatewayRouteTableec2:GetTransitGatewayRouteTableAssociations

list

ec2:GetTransitGatewayRouteTableAssociations

delete

ec2: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
Properties2
Required2
TaggingNot supported
Primary IDTransitGatewayRouteTableId

Supported Operations

ReadCreateListDelete

Immutable After Creation

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

TransitGatewayRouteTableIdTransitGatewayAttachmentId

External Links