This is the new *CloudFormation Template Reference Guide*. Please update your bookmarks and links. For help getting started with CloudFormation, see the [AWS CloudFormation User Guide](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/Welcome.html). # 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 AWS Direct Connect attachment as the underlying transport mechanism. ## Syntax To declare this entity in your CloudFormation template, use the following syntax: ### JSON ``` { "Type" : "AWS::EC2::TransitGatewayConnect", "Properties" : { "[Options](#cfn-ec2-transitgatewayconnect-options)" : {{TransitGatewayConnectOptions}}, "[Tags](#cfn-ec2-transitgatewayconnect-tags)" : {{[ Tag, ... ]}}, "[TransportTransitGatewayAttachmentId](#cfn-ec2-transitgatewayconnect-transporttransitgatewayattachmentid)" : {{String}} } } ``` ### YAML ``` Type: AWS::EC2::TransitGatewayConnect Properties: [Options](#cfn-ec2-transitgatewayconnect-options): {{ TransitGatewayConnectOptions}} [Tags](#cfn-ec2-transitgatewayconnect-tags): {{ - Tag}} [TransportTransitGatewayAttachmentId](#cfn-ec2-transitgatewayconnect-transporttransitgatewayattachmentid): {{String}} ``` ## Properties `Options` The Connect attachment options. + protocol (gre) *Required*: Yes *Type*: [TransitGatewayConnectOptions](aws-properties-ec2-transitgatewayconnect-transitgatewayconnectoptions.md) *Update requires*: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement) `Tags` The tags for the attachment. *Required*: No *Type*: Array of [Tag](aws-properties-ec2-transitgatewayconnect-tag.md) *Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt) `TransportTransitGatewayAttachmentId` The ID of the attachment from which the Connect attachment was created. *Required*: Yes *Type*: String *Update requires*: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-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 [https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/intrinsic-function-reference-getatt.html](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/intrinsic-function-reference-getatt.html). #### `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.

AltStyle によって変換されたページ (->オリジナル) /