AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::DirectConnect::TransitVirtualInterface

CfnTransitVirtualInterface

Resource Type definition for AWS::DirectConnect::TransitVirtualInterface.

Import

import { CfnTransitVirtualInterface } from 'aws-cdk-lib/aws-directconnect';

Or use the module namespace:

import * as directconnect from 'aws-cdk-lib/aws-directconnect';
// directconnect.CfnTransitVirtualInterface

Properties

Configuration passed to the constructor as CfnTransitVirtualInterfaceProps.

bgpPeersRequired
IResolvable | IResolvable | BgpPeerProperty[]

The BGP peers configured on this virtual interface..

connectionIdRequired
string | IConnectionRef | ILagRef
directConnectGatewayIdRequired
string | IDirectConnectGatewayRef
virtualInterfaceNameRequired
string

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 (-).

vlanRequired
number

The ID of the VLAN.

allocateTransitVirtualInterfaceRoleArnOptional
string

The Amazon Resource Name (ARN) of the role to allocate the TransitVifAllocation. Needs directconnect:AllocateTransitVirtualInterface permissions and tag permissions if applicable.

enableSiteLinkOptional
boolean | IResolvable

Indicates whether to enable or disable SiteLink.

mtuOptional
number

The maximum transmission unit (MTU), in bytes. The supported values are 1500 and 9001. The default value is 1500.

tagsOptional
CfnTag[]

The tags associated with the private virtual interface.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter