internet_gateways
Retrieves a list of internet_gateways
in a region
Overview
Name | internet_gateways |
Type | Resource |
Description | internet_gateways |
Id | awscc.ec2.internet_gateways |
Fields
Name | Datatype | Description |
---|---|---|
internet_gateway_id | string | ID of internet gateway. |
region | string | AWS 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