carrier_gateways
Retrieves a list of carrier_gateways
in a region
Overview
Name | carrier_gateways |
Type | Resource |
Description | An example resource schema demonstrating some basic constructs and validation rules. |
Id | aws.ec2.carrier_gateways |
Fields
Name | Datatype | Description |
---|---|---|
carrier_gateway_id | string | The ID of the carrier gateway. |
region | string | AWS region. |
Methods
Name | Accessible by | Required Params |
---|---|---|
create_resource | INSERT | data__DesiredState, region |
list_resource | SELECT | region |
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