interface CfnDirectConnectGatewayAssociationProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.DirectConnect.CfnDirectConnectGatewayAssociationProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsdirectconnect#CfnDirectConnectGatewayAssociationProps |
Java | software.amazon.awscdk.services.directconnect.CfnDirectConnectGatewayAssociationProps |
Python | aws_cdk.aws_directconnect.CfnDirectConnectGatewayAssociationProps |
TypeScript | aws-cdk-lib » aws_directconnect » CfnDirectConnectGatewayAssociationProps |
Properties for defining a CfnDirectConnectGatewayAssociation.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_directconnect as directconnect } from 'aws-cdk-lib';
const cfnDirectConnectGatewayAssociationProps: directconnect.CfnDirectConnectGatewayAssociationProps = {
associatedGatewayId: 'associatedGatewayId',
directConnectGatewayId: 'directConnectGatewayId',
// the properties below are optional
acceptDirectConnectGatewayAssociationProposalRoleArn: 'acceptDirectConnectGatewayAssociationProposalRoleArn',
allowedPrefixesToDirectConnectGateway: ['allowedPrefixesToDirectConnectGateway'],
};
Properties
| Name | Type | Description |
|---|---|---|
| associated | string | ITransit | IVPNGateway | |
| direct | string | IDirect | |
| accept | string | The Amazon Resource Name (ARN) of the role to accept the Direct Connect Gateway association proposal. |
| allowed | string[] | The Amazon VPC prefixes to advertise to the Direct Connect gateway. |
associatedGatewayId
Type:
string | ITransit | IVPNGateway
directConnectGatewayId
Type:
string | IDirect
acceptDirectConnectGatewayAssociationProposalRoleArn?
Type:
string
(optional)
The Amazon Resource Name (ARN) of the role to accept the Direct Connect Gateway association proposal.
Needs directconnect:AcceptDirectConnectGatewayAssociationProposal permissions.
allowedPrefixesToDirectConnectGateway?
Type:
string[]
(optional)
The Amazon VPC prefixes to advertise to the Direct Connect gateway.
This parameter is required when you create an association to a transit gateway.

.NET
Go
Java
Python
TypeScript