AWS::EC2::TransitGatewayConnectThe AWS::EC2::TransitGatewayConnect type
3 configurable properties. 2 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
Options | TransitGatewayConnectOptions | RequiredCreate-only |
TransportTransitGatewayAttachmentId | string | RequiredCreate-only |
Tags | Array<Tag> |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
CreationTime | string | The creation time. |
State | string | The state of the attachment. |
TransitGatewayAttachmentId | string | The ID of the Connect attachment. |
TransitGatewayId | string | The ID of the transit gateway. |
A minimal template with required properties and common optional ones.
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: ProductionPermissions CloudFormation needs in your IAM role to manage this resource.
ec2:CreateTransitGatewayConnectec2:DescribeTransitGatewayConnectsec2:CreateTagsec2:DescribeTagsec2:DescribeTransitGatewayConnectsec2:DescribeTagsec2:DescribeTransitGatewayConnectsec2:DeleteTagsec2:CreateTagsec2:DescribeTagsec2:DeleteTransitGatewayConnectec2:DescribeTransitGatewayConnectsec2:DeleteTagsec2:DescribeTagsec2:DescribeTransitGatewayConnectsec2:DescribeTagsEverything you need to know about EC2 on one page. HD quality, print-friendly.
Download Free InfographicTransitGatewayAttachmentIdThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
TransportTransitGatewayAttachmentIdOptions