AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::DirectConnect::DirectConnectGatewayAssociation

CfnDirectConnectGatewayAssociation

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

Import

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

Or use the module namespace:

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

Properties

Configuration passed to the constructor as CfnDirectConnectGatewayAssociationProps.

associatedGatewayIdRequired
string | ITransitGatewayRef | IVPNGatewayRef
directConnectGatewayIdRequired
string | IDirectConnectGatewayRef
acceptDirectConnectGatewayAssociationProposalRoleArnOptional
string

The Amazon Resource Name (ARN) of the role to accept the Direct Connect Gateway association proposal. Needs directconnect:AcceptDirectConnectGatewayAssociationProposal permissions.

allowedPrefixesToDirectConnectGatewayOptional
string[]

The Amazon VPC prefixes to advertise to the Direct Connect gateway. This parameter is required when you create an association to a transit 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

Quick Facts

LevelL1 (CloudFormation)
Moduleaws-directconnect
CFN TypeAWS::DirectConnect::DirectConnectGatewayAssociation
Properties4

External Links