AWS Fundamentals Logo
AWS Fundamentals
AWS::DirectConnect::PublicVirtualInterface

DirectConnect PublicVirtualInterface

Resource Type definition for AWS::DirectConnect::PublicVirtualInterface

Properties

7 configurable properties. 4 required. Click a row to see details.

Filter:
PropertyTypeFlags
BgpPeers
Array<BgpPeer>
Required
ConnectionId
Any | Any | Any | Any
Required
VirtualInterfaceName
string
Required
Vlan
integer
RequiredCreate-only
AllocatePublicVirtualInterfaceRoleArn
string
Create-onlyWrite-only
RouteFilterPrefixes
Array<string>
Create-only
Tags
Array<Tag>

Return Values

Values returned after the resource is created. Access these with Fn::GetAtt.

AttributeTypeDescription
VirtualInterfaceArnstringThe ARN of the virtual interface.
VirtualInterfaceIdstringThe ID of the virtual interface.

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::DirectConnect::PublicVirtualInterface

Resources:
  MyResource:
    Type: AWS::DirectConnect::PublicVirtualInterface
    Properties:
      BgpPeers: []
      ConnectionId: "my-connectionid"
      VirtualInterfaceName: "my-virtualinterfacename"
      Vlan: 1
      Tags:
        - Key: Environment
          Value: Production

Required IAM Permissions

Permissions CloudFormation needs in your IAM role to manage this resource.

read

directconnect:DescribeVirtualInterfaces

create

directconnect:ConfirmPublicVirtualInterfacedirectconnect:CreateBGPPeerdirectconnect:CreatePublicVirtualInterfacedirectconnect:DescribeVirtualInterfacesdirectconnect:TagResourcests:AssumeRole

update

directconnect:AssociateVirtualInterfacedirectconnect:CreateBGPPeerdirectconnect:DeleteBGPPeerdirectconnect:DescribeVirtualInterfacesdirectconnect:TagResourcedirectconnect:UntagResourcedirectconnect:UpdateVirtualInterfaceAttributes

list

directconnect:DescribeVirtualInterfaces

delete

directconnect:DeleteVirtualInterfacedirectconnect:DescribeVirtualInterfaces

Learn AWS the Practical Way

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

Subscribe to Newsletter

Quick Facts

ServiceDirectConnect
Properties9
Required4
TaggingSupported
Primary IDVirtualInterfaceArn

Supported Operations

ReadCreateUpdateListDelete

Immutable After Creation

These properties cannot be changed after the resource is created. Updating them triggers a replacement.

AllocatePublicVirtualInterfaceRoleArnRouteFilterPrefixesVlan

External Links