vpc_gateway_attachments_list_only
Lists vpc_gateway_attachments
in a region or regions, for all properties use vpc_gateway_attachments
Overview
Name | vpc_gateway_attachments_list_only |
Type | Resource |
Description | Resource Type definition for AWS::EC2::VPCGatewayAttachment |
Id | aws.ec2.vpc_gateway_attachments_list_only |
Fields
Name | Datatype | Description |
---|---|---|
attachment_type | string | Used to identify if this resource is an Internet Gateway or Vpn Gateway Attachment |
internet_gateway_id | string | The ID of the internet gateway. You must specify either InternetGatewayId or VpnGatewayId, but not both. |
vpc_id | string | The ID of the VPC. |
vpn_gateway_id | string | The ID of the virtual private gateway. You must specify either InternetGatewayId or VpnGatewayId, but not both. |
region | string | AWS region. |
Methods
Name | Accessible by | Required Params |
---|---|---|
list_resources | SELECT | region |
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