Skip to main content

vpcs

Retrieves a list of vpcs in a region

Overview

Namevpcs
TypeResource
Descriptionvpcs
Idawscc.ec2.vpcs

Fields

NameDatatypeDescription
vpc_idstring
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
vpc_id
FROM awscc.ec2.vpcs
WHERE region = 'us-east-1'

Permissions

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

Create

ec2:CreateVpc,
ec2:DescribeVpcs,
ec2:ModifyVpcAttribute,
ec2:CreateTags

List

ec2:DescribeVpcs