vpcs
Retrieves a list of vpcs
in a region
Overview
Name | vpcs |
Type | Resource |
Description | vpcs |
Id | awscc.ec2.vpcs |
Fields
Name | Datatype | Description |
---|---|---|
vpc_id | string | |
region | string | AWS 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