Skip to main content

vpc_peering_connections_list_only

Lists vpc_peering_connections in a region or regions, for all properties use vpc_peering_connections

Overview

Namevpc_peering_connections_list_only
TypeResource
DescriptionResource Type definition for AWS::EC2::VPCPeeringConnection
Idaws.ec2.vpc_peering_connections_list_only

Fields

NameDatatypeDescription
idstring
peer_owner_idstringThe AWS account ID of the owner of the accepter VPC.
peer_regionstringThe Region code for the accepter VPC, if the accepter VPC is located in a Region other than the Region in which you make the request.
peer_role_arnstringThe Amazon Resource Name (ARN) of the VPC peer role for the peering connection in another AWS account.
peer_vpc_idstringThe ID of the VPC with which you are creating the VPC peering connection. You must specify this parameter in the request.
vpc_idstringThe ID of the VPC.
tagsarray
regionstringAWS region.

Methods

NameAccessible byRequired Params
list_resourcesSELECTregion

SELECT examples

Lists all vpc_peering_connections in a region.

SELECT
region,
id
FROM aws.ec2.vpc_peering_connections_list_only
WHERE region = 'us-east-1';

Permissions

For permissions required to operate on the vpc_peering_connections_list_only resource, see vpc_peering_connections