Skip to main content

vpc_peering_connections

Retrieves a list of vpc_peering_connections in a region

Overview

Namevpc_peering_connections
TypeResource
Descriptionvpc_peering_connections
Idawscc.ec2.vpc_peering_connections

Fields

NameDatatypeDescription
idstring
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
id
FROM awscc.ec2.vpc_peering_connections
WHERE region = 'us-east-1'

Permissions

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

Create

ec2:CreateVpcPeeringConnection,
ec2:DescribeVpcPeeringConnections,
ec2:AcceptVpcPeeringConnection,
ec2:CreateTags,
sts:AssumeRole

List

ec2:DescribeVpcPeeringConnections