transit_gateways
Retrieves a list of transit_gateways
in a region
Overview
Name | transit_gateways |
Type | Resource |
Description | transit_gateways |
Id | awscc.ec2.transit_gateways |
Fields
Name | Datatype | Description |
---|---|---|
id | string | |
region | string | AWS region. |
Methods
Currently only SELECT
is supported for this resource resource.
Example
SELECT
region,
id
FROM awscc.ec2.transit_gateways
WHERE region = 'us-east-1'
Permissions
To operate on the transit_gateways
resource, the following permissions are required:
Create
ec2:CreateTransitGateway,
ec2:CreateTags,
ec2:DescribeTransitGateways,
ec2:DescribeTags,
ec2:DeleteTransitGateway,
ec2:DeleteTags,
ec2:ModifyTransitGateway,
ec2:ModifyTransitGatewayOptions
List
ec2:CreateTransitGateway,
ec2:CreateTags,
ec2:DescribeTransitGateways,
ec2:DescribeTags,
ec2:DeleteTransitGateway,
ec2:DeleteTags,
ec2:ModifyTransitGateway,
ec2:ModifyTransitGatewayOptions