AWS::EC2::TransitGatewayConnect - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

AWS::EC2::TransitGatewayConnect

Creates a Connect attachment from a specified transit gateway attachment. A Connect attachment is a GRE-based tunnel attachment that you can use to establish a connection between a transit gateway and an appliance.

A Connect attachment uses an existing VPC or Amazon Direct Connect attachment as the underlying transport mechanism.

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

{ "Type" : "AWS::EC2::TransitGatewayConnect", "Properties" : { "Options" : TransitGatewayConnectOptions, "Tags" : [ Tag, ... ], "TransportTransitGatewayAttachmentId" : String } }

YAML

Type: AWS::EC2::TransitGatewayConnect Properties: Options: TransitGatewayConnectOptions Tags: - Tag TransportTransitGatewayAttachmentId: String

Properties

Options

The Connect attachment options.

  • protocol (gre)

Required: Yes

Type: TransitGatewayConnectOptions

Update requires: Replacement

Tags

The tags for the attachment.

Required: No

Type: Array of Tag

Update requires: No interruption

TransportTransitGatewayAttachmentId

The ID of the attachment from which the Connect attachment was created.

Required: Yes

Type: String

Update requires: Replacement

Return values

Ref

When you pass the logical ID of this resource to the intrinsic Ref function, Ref returns the transit gateway attachment.

Fn::GetAtt

The Fn::GetAtt intrinsic function returns a value for a specified attribute of this type. The following are the available attributes and sample return values.

For more information about using the Fn::GetAtt intrinsic function, see Fn::GetAtt.

CreationTime

The creation time.

State

The state of the attachment.

TransitGatewayAttachmentId

The ID of the transit gateway attachment.

TransitGatewayId

The ID of the transit gateway.