AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::DirectConnect::DirectConnectGateway

CfnDirectConnectGateway

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

Import

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

Or use the module namespace:

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

Properties

Configuration passed to the constructor as CfnDirectConnectGatewayProps.

directConnectGatewayNameRequired
string

The name of the Direct Connect gateway.

amazonSideAsnOptional
string

The autonomous system number (ASN) for the Amazon side of the connection.

tagsOptional
CfnTag[]

The tags associated with the Direct Connect gateway.

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