vpc_peering_connections
Used to retrieve a list of vpc_peering_connections
in a region or create a vpc_peering_connections
resource, use vpc_peering_connection
to operate on an individual resource.
Overview
Name | vpc_peering_connections |
Type | Resource |
Description | Resource Type definition for AWS::EC2::VPCPeeringConnection |
Id | aws.ec2.vpc_peering_connections |
Fields
Name | Datatype | Description |
---|---|---|
id | string | |
region | string | AWS region. |
Methods
Name | Accessible by | Required Params |
---|---|---|
create_resource | INSERT | data__DesiredState, region |
list_resource | SELECT | region |
SELECT
Example
SELECT
region,
id
FROM aws.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