Skip to main content

internet_gateway

Gets an individual internet_gateway resource

Overview

Nameinternet_gateway
TypeResource
Descriptioninternet_gateway
Idawscc.ec2.internet_gateway

Fields

NameDatatypeDescription
internet_gateway_idstringID of internet gateway.
tagsarrayAny tags to assign to the internet gateway.
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
internet_gateway_id,
tags
FROM awscc.ec2.internet_gateway
WHERE data__Identifier = '<InternetGatewayId>';

Permissions

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

Read

ec2:DescribeInternetGateways

Delete

ec2:DeleteInternetGateway,
ec2:DescribeInternetGateways

Update

ec2:DeleteTags,
ec2:CreateTags,
ec2:DescribeInternetGateways