AWS Fundamentals Logo
AWS Fundamentals
AWS::DirectConnect::Connection

DirectConnect Connection

Resource Type definition for AWS::DirectConnect::Connection

Properties

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

Filter:
PropertyTypeFlags
Bandwidth
string
RequiredCreate-only
ConnectionName
string
Required
Location
string
RequiredCreate-only
LagId
Any | Any
ProviderName
string
Create-only
RequestMACSec
boolean
Create-onlyWrite-only
Tags
Array<Tag>

Return Values

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

AttributeTypeDescription
ConnectionArnstringThe ARN of the connection.
ConnectionIdstringThe ID of the connection.
ConnectionStatestringThe state of the connection.

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::Connection

Resources:
  MyResource:
    Type: AWS::DirectConnect::Connection
    Properties:
      Bandwidth: "my-bandwidth"
      ConnectionName: "my-connectionname"
      Location: "value"
      Tags:
        - Key: Environment
          Value: Production

Required IAM Permissions

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

read

directconnect:DescribeConnections

create

directconnect:DescribeConnectionsdirectconnect:CreateConnectiondirectconnect:TagResource

update

directconnect:AssociateConnectionWithLagdirectconnect:DisassociateConnectionFromLagdirectconnect:DescribeConnectionsdirectconnect:TagResourcedirectconnect:UntagResourcedirectconnect:UpdateConnection

list

directconnect:DescribeConnections

delete

directconnect:DescribeConnectionsdirectconnect:DeleteConnection

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
Properties10
Required3
TaggingSupported
Primary IDConnectionArn

Supported Operations

ReadCreateUpdateListDelete

Immutable After Creation

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

BandwidthLocationProviderNameRequestMACSec

External Links