Skip to main content

transit_gateways

Retrieves a list of transit_gateways in a region

Overview

Nametransit_gateways
TypeResource
Descriptiontransit_gateways
Idawscc.ec2.transit_gateways

Fields

NameDatatypeDescription
idstring
regionstringAWS 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