transit_gateway_peering_attachment
Gets an individual transit_gateway_peering_attachment
resource
Overview
Name | transit_gateway_peering_attachment |
Type | Resource |
Description | transit_gateway_peering_attachment |
Id | awscc.ec2.transit_gateway_peering_attachment |
Fields
Name | Datatype | Description |
---|---|---|
status | object | The status of the transit gateway peering attachment. |
transit_gateway_id | string | The ID of the transit gateway. |
peer_transit_gateway_id | string | The ID of the peer transit gateway. |
peer_account_id | string | The ID of the peer account |
state | string | The state of the transit gateway peering attachment. Note that the initiating state has been deprecated. |
creation_time | string | The time the transit gateway peering attachment was created. |
peer_region | string | Peer Region |
tags | array | The tags for the transit gateway peering attachment. |
transit_gateway_attachment_id | string | The ID of the transit gateway peering attachment. |
region | string | AWS region. |
Methods
Currently only SELECT
is supported for this resource resource.
Example
SELECT
region,
status,
transit_gateway_id,
peer_transit_gateway_id,
peer_account_id,
state,
creation_time,
peer_region,
tags,
transit_gateway_attachment_id
FROM awscc.ec2.transit_gateway_peering_attachment
WHERE data__Identifier = '<TransitGatewayAttachmentId>';
Permissions
To operate on the transit_gateway_peering_attachment
resource, the following permissions are required:
Read
ec2:DescribeTransitGatewayPeeringAttachments
Update
ec2:DescribeTransitGatewayPeeringAttachments
Delete
ec2:DeleteTransitGatewayPeeringAttachment,
ec2:DescribeTransitGatewayPeeringAttachments