Skip to main content

customer_gateways

Retrieves a list of customer_gateways in a region

Overview

Namecustomer_gateways
TypeResource
DescriptionSpecifies a customer gateway.
Idaws.ec2.customer_gateways

Fields

NameDatatypeDescription
customer_gateway_idstring
regionstringAWS region.

Methods

NameAccessible byRequired Params
create_resourceINSERTdata__DesiredState, region
list_resourceSELECTregion

SELECT Example

SELECT
region,
customer_gateway_id
FROM aws.ec2.customer_gateways
WHERE region = 'us-east-1'

Permissions

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

Create

ec2:CreateCustomerGateway,
ec2:DescribeCustomerGateways,
ec2:CreateTags

List

ec2:DescribeCustomerGateways