Skip to main content

egress_only_internet_gateways

Used to retrieve a list of egress_only_internet_gateways in a region or create a egress_only_internet_gateways resource, use egress_only_internet_gateway to operate on an individual resource.

Overview

Nameegress_only_internet_gateways
TypeResource
DescriptionResource Type definition for AWS::EC2::EgressOnlyInternetGateway
Idaws.ec2.egress_only_internet_gateways

Fields

NameDatatypeDescription
idstringService Generated ID of the EgressOnlyInternetGateway
regionstringAWS region.

Methods

NameAccessible byRequired Params
create_resourceINSERTdata__DesiredState, region
list_resourceSELECTregion

SELECT Example

SELECT
region,
id
FROM aws.ec2.egress_only_internet_gateways
WHERE region = 'us-east-1'

Permissions

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

Create

ec2:CreateEgressOnlyInternetGateway,
ec2:DescribeEgressOnlyInternetGateways

List

ec2:DescribeEgressOnlyInternetGateways