Skip to main content

transit_gateway_peering_attachments

Retrieves a list of transit_gateway_peering_attachments in a region

Overview

Nametransit_gateway_peering_attachments
TypeResource
Descriptiontransit_gateway_peering_attachments
Idawscc.ec2.transit_gateway_peering_attachments

Fields

NameDatatypeDescription
transit_gateway_attachment_idstringThe ID of the transit gateway peering attachment.
regionstringAWS 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