Skip to main content

vpc_peering_connection_tags

Expands all tag keys and values for vpc_peering_connections in a region

Overview

Namevpc_peering_connection_tags
TypeResource
DescriptionResource Type definition for AWS::EC2::VPCPeeringConnection
Idaws.ec2.vpc_peering_connection_tags

Fields

NameDatatypeDescription
peer_role_arnstringThe Amazon Resource Name (ARN) of the VPC peer role for the peering connection in another AWS account.
vpc_idstringThe ID of the VPC.
peer_vpc_idstringThe ID of the VPC with which you are creating the VPC peering connection. You must specify this parameter in the request.
idstring
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_owner_idstringThe AWS account ID of the owner of the accepter VPC.
tag_keystringTag key.
tag_valuestringTag value.
regionstringAWS region.

Methods

NameAccessible byRequired Params
list_resourcesSELECTregion

SELECT examples

Expands tags for all vpc_peering_connections in a region.

SELECT
region,
peer_role_arn,
vpc_id,
peer_vpc_id,
id,
peer_region,
peer_owner_id,
tag_key,
tag_value
FROM aws.ec2.vpc_peering_connection_tags
WHERE region = 'us-east-1';

Permissions

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