Skip to main content

internet_gateways

Retrieves a list of internet_gateways in a region

Overview

Nameinternet_gateways
TypeResource
Descriptioninternet_gateways
Idawscc.ec2.internet_gateways

Fields

NameDatatypeDescription
internet_gateway_idstringID of internet gateway.
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
internet_gateway_id
FROM awscc.ec2.internet_gateways
WHERE region = 'us-east-1'

Permissions

To operate on the internet_gateways resource, the following permissions are required:

Create

ec2:CreateInternetGateway,
ec2:CreateTags,
ec2:DescribeInternetGateways

List

ec2:DescribeInternetGateways