AWS::EC2::TransitGatewayPeeringAttachmentThe AWS::EC2::TransitGatewayPeeringAttachment type
5 configurable properties. 4 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
PeerAccountId | string | RequiredCreate-only |
PeerRegion | string | RequiredCreate-only |
PeerTransitGatewayId | string | RequiredCreate-only |
TransitGatewayId | string | RequiredCreate-only |
Tags | Array<Tag> |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
CreationTime | string | The time the transit gateway peering attachment was created. |
State | string | The state of the transit gateway peering attachment. Note that the initiating state has been deprecated. |
Status | PeeringAttachmentStatus | The status of the transit gateway peering attachment. |
TransitGatewayAttachmentId | string | The ID of the transit gateway peering attachment. |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::EC2::TransitGatewayPeeringAttachment
Resources:
MyResource:
Type: AWS::EC2::TransitGatewayPeeringAttachment
Properties:
TransitGatewayId: "my-transitgatewayid"
PeerTransitGatewayId: "my-peertransitgatewayid"
PeerAccountId: "my-peeraccountid"
PeerRegion: "value"
Tags:
- Key: Environment
Value: ProductionPermissions CloudFormation needs in your IAM role to manage this resource.
ec2:DescribeTransitGatewayPeeringAttachmentsec2:DescribeTagsec2:CreateTransitGatewayPeeringAttachmentec2:DescribeTransitGatewayPeeringAttachmentsec2:CreateTagsec2:DescribeTagsec2:DescribeTransitGatewayPeeringAttachmentsec2:CreateTagsec2:DeleteTagsec2:DescribeTagsec2:DescribeTransitGatewayPeeringAttachmentsec2:DescribeTagsec2:DeleteTransitGatewayPeeringAttachmentec2:DescribeTransitGatewayPeeringAttachmentsec2:DeleteTagsec2: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.
TransitGatewayIdPeerTransitGatewayIdPeerRegionPeerAccountId