---
type: resource-type
title: VPCPeeringConnection
description: aws resource type AWS::EC2::VPCPeeringConnection
name: VPCPeeringConnection
lexicon: aws
resource_type: AWS::EC2::VPCPeeringConnection
---
`AWS::EC2::VPCPeeringConnection`, a resource type of the aws lexicon.

## Properties

- `PeerVpcId` (`string`, required): The ID of the VPC with which you are creating the VPC peering connection. You must specify this parameter in the request.
- `VpcId` (`string`, required): The ID of the VPC.
- `AssumeRoleRegion` (`string`, optional): The Region code to use when calling Security Token Service (STS) to assume the PeerRoleArn, if provided.
- `Id` (`string`, optional)
- `PeerOwnerId` (`string`, optional): The AWS account ID of the owner of the accepter VPC.
- `PeerRegion` (`string`, optional): The 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.
- `PeerRoleArn` (`string`, optional): The Amazon Resource Name (ARN) of the VPC peer role for the peering connection in another AWS account.
- `Tags` (`VPCPeeringConnection_Tag[]`, optional)

## Attributes

- `Id`
