Skip to main content

customer_gateways

Retrieves a list of customer_gateways in a region

Overview

Namecustomer_gateways
TypeResource
Descriptioncustomer_gateways
Idawscc.ec2.customer_gateways

Fields

NameDatatypeDescription
customer_gateway_idstringCustomerGateway ID generated after customer gateway is created. Each customer gateway has a unique ID.
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
customer_gateway_id
FROM awscc.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

List

ec2:DescribeCustomerGateways