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
DescriptionThe AWS::EC2::TransitGatewayPeeringAttachment type
Idaws.ec2.transit_gateway_peering_attachments

Fields

NameDatatypeDescription
transit_gateway_attachment_idstringThe ID of the transit gateway peering attachment.
regionstringAWS region.

Methods

NameAccessible byRequired Params
create_resourceINSERTdata__DesiredState, region
list_resourceSELECTregion

SELECT Example

SELECT
region,
transit_gateway_attachment_id
FROM aws.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