Skip to main content

carrier_gateway

Gets an individual carrier_gateway resource

Overview

Namecarrier_gateway
TypeResource
Descriptioncarrier_gateway
Idawscc.ec2.carrier_gateway

Fields

NameDatatypeDescription
carrier_gateway_idstringThe ID of the carrier gateway.
statestringThe state of the carrier gateway.
vpc_idstringThe ID of the VPC.
owner_idstringThe ID of the owner.
tagsarrayThe tags for the carrier gateway.
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
carrier_gateway_id,
state,
vpc_id,
owner_id,
tags
FROM awscc.ec2.carrier_gateway
WHERE data__Identifier = '<CarrierGatewayId>';

Permissions

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

Read

ec2:DescribeCarrierGateways

Update

ec2:DescribeCarrierGateways,
ec2:CreateTags,
ec2:DeleteTags

Delete

ec2:DeleteCarrierGateway,
ec2:DescribeCarrierGateways