AWS::NetworkManager::TransitGatewayRouteTableAttachment
Creates a transit gateway route table attachment.
Syntax
To declare this entity in your Amazon CloudFormation template, use the following syntax:
JSON
{ "Type" : "AWS::NetworkManager::TransitGatewayRouteTableAttachment", "Properties" : { "PeeringId" :String, "ProposedSegmentChange" :ProposedSegmentChange, "Tags" :[ Tag, ... ], "TransitGatewayRouteTableArn" :String} }
YAML
Type: AWS::NetworkManager::TransitGatewayRouteTableAttachment Properties: PeeringId:StringProposedSegmentChange:ProposedSegmentChangeTags:- TagTransitGatewayRouteTableArn:String
Properties
PeeringId-
The ID of the transit gateway peering.
Required: Yes
Type: String
Minimum:
0Maximum:
50Pattern:
^peering-([0-9a-f]{8,17})$Update requires: Replacement
ProposedSegmentChange-
This property is read-only. Values can't be assigned to it.
Required: No
Type: ProposedSegmentChange
Update requires: No interruption
Tags-
The list of key-value pairs associated with the transit gateway route table attachment.
Required: No
Type: List of Tag
Update requires: No interruption
TransitGatewayRouteTableArn-
The ARN of the transit gateway attachment route table. For example,
"TransitGatewayRouteTableArn": "arn:aws:ec2:us-west-2:123456789012:transit-gateway-route-table/tgw-rtb-9876543210123456".Required: Yes
Type: String
Minimum:
0Maximum:
500Pattern:
[\s\S]*Update requires: Replacement
Return values
Ref
When you pass the logical ID of this resource to the intrinsic Reffunction, Refreturns the attachment ID of the transit gateway route table. For example: attachment-12367e74104d31234.
For more information about using the Reffunction, see Ref.
Fn::GetAtt
The Fn::GetAttintrinsic 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::GetAttintrinsic function, see Fn::GetAtt.
AttachmentId-
The ID of the transit gateway route table attachment.
AttachmentPolicyRuleNumber-
The policy rule number associated with the attachment.
AttachmentType-
The type of attachment. This will be
TRANSIT_GATEWAY_ROUTE_TABLE. CoreNetworkArn-
The ARN of the core network.
CoreNetworkId-
The ID of the core network.
CreatedAt-
The timestamp when the transit gateway route table attachment was created.
EdgeLocation-
The Region where the core network edge is located.
OwnerAccountId-
The ID of the transit gateway route table attachment owner.
ResourceArn-
The resource ARN for the transit gateway route table attachment.
SegmentName-
The name of the attachment's segment.
State-
The state of the attachment. This can be:
REJECTED|PENDING_ATTACHMENT_ACCEPTANCE|CREATING|FAILED|AVAILABLE|UPDATING|PENDING_NETWORK_UPDATE|PENDING_TAG_ACCEPTANCE|DELETING. UpdatedAt-
The timestamp when the transit gateway route table attachment was last updated.