Skip to main content

carrier_gateways

Retrieves a list of carrier_gateways in a region

Overview

Namecarrier_gateways
TypeResource
DescriptionAn example resource schema demonstrating some basic constructs and validation rules.
Idaws.ec2.carrier_gateways

Fields

NameDatatypeDescription
carrier_gateway_idstringThe ID of the carrier gateway.
regionstringAWS region.

Methods

NameAccessible byRequired Params
create_resourceINSERTdata__DesiredState, region
list_resourceSELECTregion

SELECT Example

SELECT
region,
carrier_gateway_id
FROM aws.ec2.carrier_gateways
WHERE region = 'us-east-1'

Permissions

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

Create

ec2:CreateCarrierGateway,
ec2:DescribeCarrierGateways,
ec2:CreateTags

List

ec2:DescribeCarrierGateways