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

## Properties

- `BgpPeers` (`PrivateVirtualInterface_BgpPeer[]`, required): The BGP peers configured on this virtual interface.
- `ConnectionId` (`any`, required): The ID or ARN of the connection or LAG.
- `VirtualInterfaceName` (`string`, required): The name of the virtual interface assigned by the customer network. The name has a maximum of 100 characters. The following are valid characters: a-z, 0-9 and a hyphen (-).
- `Vlan` (`number`, required): The ID of the VLAN.
- `AllocatePrivateVirtualInterfaceRoleArn` (`string`, optional): The Amazon Resource Name (ARN) of the role to allocate the private virtual interface. Needs directconnect:AllocatePrivateVirtualInterface permissions and tag permissions if applicable.
- `DirectConnectGatewayId` (`any`, optional): The ID or ARN of the Direct Connect gateway.
- `EnableSiteLink` (`boolean`, optional): Indicates whether to enable or disable SiteLink.
- `Mtu` (`number`, optional): The maximum transmission unit (MTU), in bytes. The supported values are 1500 and 9001. The default value is 1500.
- `Tags` (`PrivateVirtualInterface_Tag[]`, optional): The tags associated with the private virtual interface.
- `VirtualGatewayId` (`string`, optional): The ID or ARN of the virtual private gateway.
- `VirtualInterfaceArn` (`string`, optional): The ID of the virtual interface.
- `VirtualInterfaceId` (`string`, optional): The ID of the virtual interface.

## Attributes

- `BgpPeers.*.BgpPeerId`
- `VirtualInterfaceArn`
- `VirtualInterfaceId`
