transit_gateway_peering_attachments
Retrieves a list of transit_gateway_peering_attachments
in a region
Overview
Name | transit_gateway_peering_attachments |
Type | Resource |
Description | The AWS::EC2::TransitGatewayPeeringAttachment type |
Id | aws.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
Name | Accessible by | Required Params |
---|---|---|
create_resource | INSERT | data__DesiredState, region |
list_resource | SELECT | region |
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