transit_gateway_peering_attachments
Retrieves a list of transit_gateway_peering_attachments
in a region
Overview
Name | transit_gateway_peering_attachments |
Type | Resource |
Description | transit_gateway_peering_attachments |
Id | awscc.ec2.transit_gateway_peering_attachments |
Fields
Name | Datatype | Description |
---|---|---|
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,
transit_gateway_attachment_id
FROM awscc.ec2.transit_gateway_peering_attachments
WHERE region = 'us-east-1'
Permissions
To operate on the transit_gateway_peering_attachments
resource, the following permissions are required:
Create
ec2:CreateTransitGatewayPeeringAttachment,
ec2:DescribeTransitGatewayPeeringAttachments
List
ec2:DescribeTransitGatewayPeeringAttachments