Skip to main content

egress_only_internet_gateway

Gets or updates an individual egress_only_internet_gateway resource, use egress_only_internet_gateways to retrieve a list of resources or to create or delete a resource.

Overview

Nameegress_only_internet_gateway
TypeResource
DescriptionResource Type definition for AWS::EC2::EgressOnlyInternetGateway
Idaws.ec2.egress_only_internet_gateway

Fields

NameDatatypeDescription
idstringService Generated ID of the EgressOnlyInternetGateway
vpc_idstringThe ID of the VPC for which to create the egress-only internet gateway.
regionstringAWS region.

Methods

NameAccessible byRequired Params
get_resourceSELECTdata__Identifier, region

SELECT Example

SELECT
region,
id,
vpc_id
FROM aws.ec2.egress_only_internet_gateway
WHERE region = 'us-east-1' AND data__Identifier = '<Id>';

Permissions

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

Read

ec2:DescribeEgressOnlyInternetGateways