Skip to main content

internet_gateways_list_only

Lists internet_gateways in a region or regions, for all properties use internet_gateways

Overview

Nameinternet_gateways_list_only
TypeResource
DescriptionAllocates an internet gateway for use with a VPC. After creating the Internet gateway, you then attach it to a VPC.
Idaws.ec2.internet_gateways_list_only

Fields

NameDatatypeDescription
internet_gateway_idstring
tagsarrayAny tags to assign to the internet gateway.
regionstringAWS region.

Methods

NameAccessible byRequired Params
list_resourcesSELECTregion

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