transit_gateway_peerings
Retrieves a list of transit_gateway_peerings
in a region
Overview
Name | transit_gateway_peerings |
Type | Resource |
Description | transit_gateway_peerings |
Id | awscc.networkmanager.transit_gateway_peerings |
Fields
Name | Datatype | Description |
---|---|---|
peering_id | string | The Id of the transit gateway peering |
region | string | AWS region. |
Methods
Currently only SELECT
is supported for this resource resource.
Example
SELECT
region,
peering_id
FROM awscc.networkmanager.transit_gateway_peerings
WHERE region = 'us-east-1'
Permissions
To operate on the transit_gateway_peerings
resource, the following permissions are required:
Create
networkmanager:CreateTransitGatewayPeering,
networkmanager:TagResource,
networkmanager:GetTransitGatewayPeering,
iam:CreateServiceLinkedRole,
ec2:CreateTransitGatewayPeeringAttachment,
ec2:AcceptTransitGatewayPeeringAttachment,
ec2:DescribeRegions
List
networkmanager:ListPeerings