AWS Fundamentals Logo
AWS Fundamentals
AWS::EC2::TransitGatewayConnect

EC2 TransitGatewayConnect

The AWS::EC2::TransitGatewayConnect type

Properties

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

Filter:
PropertyTypeFlags
Options
TransitGatewayConnectOptions
RequiredCreate-only
TransportTransitGatewayAttachmentId
string
RequiredCreate-only
Tags
Array<Tag>

Return Values

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

AttributeTypeDescription
CreationTimestringThe creation time.
StatestringThe state of the attachment.
TransitGatewayAttachmentIdstringThe ID of the Connect attachment.
TransitGatewayIdstringThe ID of the transit gateway.

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

Resources:
  MyResource:
    Type: AWS::EC2::TransitGatewayConnect
    Properties:
      TransportTransitGatewayAttachmentId: "my-transporttransitgatewayattachmentid"
      Options: "value"
      Tags:
        - Key: Environment
          Value: Production

Required IAM Permissions

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

create

ec2:CreateTransitGatewayConnectec2:DescribeTransitGatewayConnectsec2:CreateTagsec2:DescribeTags

read

ec2:DescribeTransitGatewayConnectsec2:DescribeTags

update

ec2:DescribeTransitGatewayConnectsec2:DeleteTagsec2:CreateTagsec2:DescribeTags

delete

ec2:DeleteTransitGatewayConnectec2:DescribeTransitGatewayConnectsec2:DeleteTagsec2:DescribeTags

list

ec2:DescribeTransitGatewayConnectsec2:DescribeTags

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
Properties7
Required2
TaggingSupported
Primary IDTransitGatewayAttachmentId

Supported Operations

CreateReadUpdateDeleteList

Immutable After Creation

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

TransportTransitGatewayAttachmentIdOptions

External Links