internet_gateways_list_only
Lists internet_gateways
in a region or regions, for all properties use internet_gateways
Overview
Name | internet_gateways_list_only |
Type | Resource |
Description | Allocates an internet gateway for use with a VPC. After creating the Internet gateway, you then attach it to a VPC. |
Id | aws.ec2.internet_gateways_list_only |
Fields
Name | Datatype | Description |
---|---|---|
internet_gateway_id | string | |
tags | array | Any tags to assign to the internet gateway. |
region | string | AWS region. |
Methods
Name | Accessible by | Required Params |
---|---|---|
list_resources | SELECT | region |
SELECT
examples
Lists all internet_gateways
in a region.
SELECT
region,
internet_gateway_id
FROM aws.ec2.internet_gateways_list_only
WHERE region = 'us-east-1';
Permissions
For permissions required to operate on the internet_gateways_list_only
resource, see internet_gateways