AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::DevOpsAgent::Association

CfnAssociation

The `AWS::DevOpsAgent::Association` resource specifies an association between an Agent Space and a service, defining how the Agent Space interacts with external services like GitHub, Slack, AWS accounts, and others.

Import

import { CfnAssociation } from 'aws-cdk-lib/aws-devopsagent';

Or use the module namespace:

import * as devopsagent from 'aws-cdk-lib/aws-devopsagent';
// devopsagent.CfnAssociation

Properties

Configuration passed to the constructor as CfnAssociationProps.

agentSpaceIdRequired
string

The unique identifier of the Agent Space.

configurationRequired
IResolvable | ServiceConfigurationProperty

The configuration that directs how the Agent Space interacts with the given service. You can specify only one configuration type per association. *Allowed Values* : `SourceAws` | `Aws` | `GitHub` | `GitLab` | `Slack` | `Dynatrace` | `ServiceNow` | `MCPServer` | `MCPServerNewRelic` | `MCPServerDatadog` | `MCPServerSplunk` | `EventChannel`

serviceIdRequired
string

The identifier for the associated service. For `SourceAws` and `Aws` configurations, this must be `aws` . For all other service types, this is a UUID generated from the RegisterService command.

linkedAssociationIdsOptional
string[]

Set of linked association IDs for parent-child relationships.

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-devopsagent
CFN TypeAWS::DevOpsAgent::Association
Properties4

Related Constructs

External Links