AWS Fundamentals Logo
AWS Fundamentals
AWS::DirectConnect::DirectConnectGateway

DirectConnect DirectConnectGateway

Resource Type definition for AWS::DirectConnect::DirectConnectGateway

Properties

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

Filter:
PropertyTypeFlags
DirectConnectGatewayName
string
Required
AmazonSideAsn
string
Create-only
Tags
Array<Tag>

Return Values

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

AttributeTypeDescription
DirectConnectGatewayArnstringThe ARN of the Direct Connect gateway.
DirectConnectGatewayIdstringThe ID of the Direct Connect gateway.

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

Resources:
  MyResource:
    Type: AWS::DirectConnect::DirectConnectGateway
    Properties:
      DirectConnectGatewayName: "my-directconnectgatewayname"
      Tags:
        - Key: Environment
          Value: Production

Required IAM Permissions

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

create

directconnect:DescribeDirectConnectGatewaysdirectconnect:CreateDirectConnectGatewaydirectconnect:TagResource

read

directconnect:DescribeDirectConnectGateways

update

directconnect:DescribeDirectConnectGatewaysdirectconnect:UpdateDirectConnectGatewaydirectconnect:TagResourcedirectconnect:UntagResource

delete

directconnect:DescribeDirectConnectGatewaysdirectconnect:DeleteDirectConnectGateway

list

directconnect:DescribeDirectConnectGateways

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
Properties5
Required1
TaggingSupported
Primary IDDirectConnectGatewayArn

Supported Operations

CreateReadUpdateDeleteList

Immutable After Creation

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

AmazonSideAsn

External Links