Skip to main content

vpc_gateway_attachments_list_only

Lists vpc_gateway_attachments in a region or regions, for all properties use vpc_gateway_attachments

Overview

Namevpc_gateway_attachments_list_only
TypeResource
DescriptionResource Type definition for AWS::EC2::VPCGatewayAttachment
Idaws.ec2.vpc_gateway_attachments_list_only

Fields

NameDatatypeDescription
attachment_typestringUsed to identify if this resource is an Internet Gateway or Vpn Gateway Attachment
internet_gateway_idstringThe ID of the internet gateway. You must specify either InternetGatewayId or VpnGatewayId, but not both.
vpc_idstringThe ID of the VPC.
vpn_gateway_idstringThe ID of the virtual private gateway. You must specify either InternetGatewayId or VpnGatewayId, but not both.
regionstringAWS region.

Methods

NameAccessible byRequired Params
list_resourcesSELECTregion

SELECT examples

Lists all vpc_gateway_attachments in a region.

SELECT
region,
attachment_type,
vpc_id
FROM aws.ec2.vpc_gateway_attachments_list_only
WHERE region = 'us-east-1';

Permissions

For permissions required to operate on the vpc_gateway_attachments_list_only resource, see vpc_gateway_attachments