vpc_gateway_attachments
Retrieves a list of vpc_gateway_attachments
in a region
Overview
Name | vpc_gateway_attachments |
Type | Resource |
Description | vpc_gateway_attachments |
Id | awscc.ec2.vpc_gateway_attachments |
Fields
Name | Datatype | Description |
---|---|---|
attachment_type | string | Used to identify if this resource is an Internet Gateway or Vpn Gateway Attachment |
vpc_id | string | The ID of the VPC. |
region | string | AWS region. |
Methods
Currently only SELECT
is supported for this resource resource.
Example
SELECT
region,
attachment_type,
vpc_id
FROM awscc.ec2.vpc_gateway_attachments
WHERE region = 'us-east-1'
Permissions
To operate on the vpc_gateway_attachments
resource, the following permissions are required:
Create
ec2:AttachInternetGateway,
ec2:AttachVpnGateway,
ec2:DescribeInternetGateways,
ec2:DescribeVpnGateways
List
ec2:DescribeInternetGateways,
ec2:DescribeVpnGateways