Skip to content
v2.278.0

CfnAssociationProps Struct ​

Properties for defining a CfnAssociation.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_devopsagent as devopsagent } from 'aws-cdk-lib';

declare const resourceMetadata: any;
const cfnAssociationProps: devopsagent.CfnAssociationProps = {
  agentSpaceId: 'agentSpaceId',
  configuration: {
    aws: {
      accountId: 'accountId',
      accountType: 'accountType',
      assumableRoleArn: 'assumableRoleArn',

      // the properties below are optional
      agentElevatedRoleArn: 'agentElevatedRoleArn',
      resources: [{
        resourceArn: 'resourceArn',

        // the properties below are optional
        resourceMetadata: resourceMetadata,
        resourceType: 'resourceType',
      }],
      tags: [{
        key: 'key',
        value: 'value',
      }],
    },
    azure: {
      subscriptionId: 'subscriptionId',
    },
    dynatrace: {
      envId: 'envId',

      // the properties below are optional
      enableWebhookUpdates: false,
      resources: ['resources'],
    },
    eventChannel: {
      enableWebhookUpdates: false,
    },
    gitHub: {
      owner: 'owner',
      ownerType: 'ownerType',
      repoId: 'repoId',
      repoName: 'repoName',

      // the properties below are optional
      releaseManagementAssociationId: 'releaseManagementAssociationId',
    },
    gitLab: {
      projectId: 'projectId',
      projectPath: 'projectPath',

      // the properties below are optional
      enableWebhookUpdates: false,
      instanceIdentifier: 'instanceIdentifier',
      releaseManagementAssociationId: 'releaseManagementAssociationId',
    },
    mcpServer: {
      tools: ['tools'],

      // the properties below are optional
      description: 'description',
      enableWebhookUpdates: false,
      endpoint: 'endpoint',
      name: 'name',
    },
    mcpServerDatadog: {
      description: 'description',
      enabledElevatedTools: ['enabledElevatedTools'],
      enableWebhookUpdates: false,
      endpoint: 'endpoint',
      name: 'name',
    },
    mcpServerGrafana: {
      endpoint: 'endpoint',

      // the properties below are optional
      enabledElevatedTools: ['enabledElevatedTools'],
      enableWebhookUpdates: false,
      tools: ['tools'],
    },
    mcpServerNewRelic: {
      accountId: 'accountId',
      endpoint: 'endpoint',
    },
    mcpServerSigV4: {
      tools: ['tools'],
    },
    mcpServerSplunk: {
      description: 'description',
      enableWebhookUpdates: false,
      endpoint: 'endpoint',
      name: 'name',
    },
    pagerDuty: {
      customerEmail: 'customerEmail',
      services: ['services'],

      // the properties below are optional
      enableWebhookUpdates: false,
    },
    releaseManagement: {
      name: 'name',
      networkAccess: {
        privateAccess: {
          privateConnectionName: 'privateConnectionName',
          runtimeRoleArn: 'runtimeRoleArn',
        },
      },
    },
    serviceNow: {
      enableWebhookUpdates: false,
      instanceId: 'instanceId',
    },
    slack: {
      transmissionTarget: {
        incidentResponseTarget: {
          channelId: 'channelId',

          // the properties below are optional
          channelName: 'channelName',
        },
      },
      workspaceId: 'workspaceId',
      workspaceName: 'workspaceName',

      // the properties below are optional
      bidirectional: {
        roleArn: 'roleArn',

        // the properties below are optional
        enabled: false,
      },
    },
    sourceAws: {
      accountId: 'accountId',
      accountType: 'accountType',
      assumableRoleArn: 'assumableRoleArn',

      // the properties below are optional
      agentElevatedRoleArn: 'agentElevatedRoleArn',
      resources: [{
        resourceArn: 'resourceArn',

        // the properties below are optional
        resourceMetadata: resourceMetadata,
        resourceType: 'resourceType',
      }],
      tags: [{
        key: 'key',
        value: 'value',
      }],
    },
  },
  serviceId: 'serviceId',

  // the properties below are optional
  capabilities: {
    codeChangeRiskAnalysis: {
      enabled: false,
      triggerFilterGroups: [{
        events: ['events'],
        targetBranches: {
          patterns: ['patterns'],
        },
      }],
    },
    codeChangeRiskAnalysisAutomatedTesting: {
      enabled: false,
    },
  },
  linkedAssociationIds: ['linkedAssociationIds'],
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_devopsagent as devopsagent

# resource_metadata: Any

cfn_association_props = devopsagent.CfnAssociationProps(
    agent_space_id="agentSpaceId",
    configuration=devopsagent.CfnAssociation.ServiceConfigurationProperty(
        aws=devopsagent.CfnAssociation.AWSConfigurationProperty(
            account_id="accountId",
            account_type="accountType",
            assumable_role_arn="assumableRoleArn",

            # the properties below are optional
            agent_elevated_role_arn="agentElevatedRoleArn",
            resources=[devopsagent.CfnAssociation.AWSResourceProperty(
                resource_arn="resourceArn",

                # the properties below are optional
                resource_metadata=resource_metadata,
                resource_type="resourceType"
            )],
            tags=[devopsagent.CfnAssociation.KeyValuePairProperty(
                key="key",
                value="value"
            )]
        ),
        azure=devopsagent.CfnAssociation.AzureConfigurationProperty(
            subscription_id="subscriptionId"
        ),
        dynatrace=devopsagent.CfnAssociation.DynatraceConfigurationProperty(
            env_id="envId",

            # the properties below are optional
            enable_webhook_updates=False,
            resources=["resources"]
        ),
        event_channel=devopsagent.CfnAssociation.EventChannelConfigurationProperty(
            enable_webhook_updates=False
        ),
        git_hub=devopsagent.CfnAssociation.GitHubConfigurationProperty(
            owner="owner",
            owner_type="ownerType",
            repo_id="repoId",
            repo_name="repoName",

            # the properties below are optional
            release_management_association_id="releaseManagementAssociationId"
        ),
        git_lab=devopsagent.CfnAssociation.GitLabConfigurationProperty(
            project_id="projectId",
            project_path="projectPath",

            # the properties below are optional
            enable_webhook_updates=False,
            instance_identifier="instanceIdentifier",
            release_management_association_id="releaseManagementAssociationId"
        ),
        mcp_server=devopsagent.CfnAssociation.MCPServerConfigurationProperty(
            tools=["tools"],

            # the properties below are optional
            description="description",
            enable_webhook_updates=False,
            endpoint="endpoint",
            name="name"
        ),
        mcp_server_datadog=devopsagent.CfnAssociation.MCPServerDatadogConfigurationProperty(
            description="description",
            enabled_elevated_tools=["enabledElevatedTools"],
            enable_webhook_updates=False,
            endpoint="endpoint",
            name="name"
        ),
        mcp_server_grafana=devopsagent.CfnAssociation.MCPServerGrafanaConfigurationProperty(
            endpoint="endpoint",

            # the properties below are optional
            enabled_elevated_tools=["enabledElevatedTools"],
            enable_webhook_updates=False,
            tools=["tools"]
        ),
        mcp_server_new_relic=devopsagent.CfnAssociation.MCPServerNewRelicConfigurationProperty(
            account_id="accountId",
            endpoint="endpoint"
        ),
        mcp_server_sig_v4=devopsagent.CfnAssociation.MCPServerSigV4ConfigurationProperty(
            tools=["tools"]
        ),
        mcp_server_splunk=devopsagent.CfnAssociation.MCPServerSplunkConfigurationProperty(
            description="description",
            enable_webhook_updates=False,
            endpoint="endpoint",
            name="name"
        ),
        pager_duty=devopsagent.CfnAssociation.PagerDutyConfigurationProperty(
            customer_email="customerEmail",
            services=["services"],

            # the properties below are optional
            enable_webhook_updates=False
        ),
        release_management=devopsagent.CfnAssociation.ReleaseManagementConfigurationProperty(
            name="name",
            network_access=devopsagent.CfnAssociation.NetworkAccessConfigurationProperty(
                private_access=devopsagent.CfnAssociation.PrivateNetworkAccessProperty(
                    private_connection_name="privateConnectionName",
                    runtime_role_arn="runtimeRoleArn"
                )
            )
        ),
        service_now=devopsagent.CfnAssociation.ServiceNowConfigurationProperty(
            enable_webhook_updates=False,
            instance_id="instanceId"
        ),
        slack=devopsagent.CfnAssociation.SlackConfigurationProperty(
            transmission_target=devopsagent.CfnAssociation.SlackTransmissionTargetProperty(
                incident_response_target=devopsagent.CfnAssociation.SlackChannelProperty(
                    channel_id="channelId",

                    # the properties below are optional
                    channel_name="channelName"
                )
            ),
            workspace_id="workspaceId",
            workspace_name="workspaceName",

            # the properties below are optional
            bidirectional=devopsagent.CfnAssociation.SlackBidirectionalConfigurationProperty(
                role_arn="roleArn",

                # the properties below are optional
                enabled=False
            )
        ),
        source_aws=devopsagent.CfnAssociation.SourceAwsConfigurationProperty(
            account_id="accountId",
            account_type="accountType",
            assumable_role_arn="assumableRoleArn",

            # the properties below are optional
            agent_elevated_role_arn="agentElevatedRoleArn",
            resources=[devopsagent.CfnAssociation.AWSResourceProperty(
                resource_arn="resourceArn",

                # the properties below are optional
                resource_metadata=resource_metadata,
                resource_type="resourceType"
            )],
            tags=[devopsagent.CfnAssociation.KeyValuePairProperty(
                key="key",
                value="value"
            )]
        )
    ),
    service_id="serviceId",

    # the properties below are optional
    capabilities=devopsagent.CfnAssociation.CapabilitiesProperty(
        code_change_risk_analysis=devopsagent.CfnAssociation.CapabilityConfigurationProperty(
            enabled=False,
            trigger_filter_groups=[devopsagent.CfnAssociation.TriggerFilterGroupProperty(
                events=["events"],
                target_branches=devopsagent.CfnAssociation.PatternFilterProperty(
                    patterns=["patterns"]
                )
            )]
        ),
        code_change_risk_analysis_automated_testing=devopsagent.CfnAssociation.AutomatedTestingCapabilityConfigurationProperty(
            enabled=False
        )
    ),
    linked_association_ids=["linkedAssociationIds"]
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.devopsagent.*;

Object resourceMetadata;

CfnAssociationProps cfnAssociationProps = CfnAssociationProps.builder()
        .agentSpaceId("agentSpaceId")
        .configuration(ServiceConfigurationProperty.builder()
                .aws(AWSConfigurationProperty.builder()
                        .accountId("accountId")
                        .accountType("accountType")
                        .assumableRoleArn("assumableRoleArn")

                        // the properties below are optional
                        .agentElevatedRoleArn("agentElevatedRoleArn")
                        .resources(List.of(AWSResourceProperty.builder()
                                .resourceArn("resourceArn")

                                // the properties below are optional
                                .resourceMetadata(resourceMetadata)
                                .resourceType("resourceType")
                                .build()))
                        .tags(List.of(KeyValuePairProperty.builder()
                                .key("key")
                                .value("value")
                                .build()))
                        .build())
                .azure(AzureConfigurationProperty.builder()
                        .subscriptionId("subscriptionId")
                        .build())
                .dynatrace(DynatraceConfigurationProperty.builder()
                        .envId("envId")

                        // the properties below are optional
                        .enableWebhookUpdates(false)
                        .resources(List.of("resources"))
                        .build())
                .eventChannel(EventChannelConfigurationProperty.builder()
                        .enableWebhookUpdates(false)
                        .build())
                .gitHub(GitHubConfigurationProperty.builder()
                        .owner("owner")
                        .ownerType("ownerType")
                        .repoId("repoId")
                        .repoName("repoName")

                        // the properties below are optional
                        .releaseManagementAssociationId("releaseManagementAssociationId")
                        .build())
                .gitLab(GitLabConfigurationProperty.builder()
                        .projectId("projectId")
                        .projectPath("projectPath")

                        // the properties below are optional
                        .enableWebhookUpdates(false)
                        .instanceIdentifier("instanceIdentifier")
                        .releaseManagementAssociationId("releaseManagementAssociationId")
                        .build())
                .mcpServer(MCPServerConfigurationProperty.builder()
                        .tools(List.of("tools"))

                        // the properties below are optional
                        .description("description")
                        .enableWebhookUpdates(false)
                        .endpoint("endpoint")
                        .name("name")
                        .build())
                .mcpServerDatadog(MCPServerDatadogConfigurationProperty.builder()
                        .description("description")
                        .enabledElevatedTools(List.of("enabledElevatedTools"))
                        .enableWebhookUpdates(false)
                        .endpoint("endpoint")
                        .name("name")
                        .build())
                .mcpServerGrafana(MCPServerGrafanaConfigurationProperty.builder()
                        .endpoint("endpoint")

                        // the properties below are optional
                        .enabledElevatedTools(List.of("enabledElevatedTools"))
                        .enableWebhookUpdates(false)
                        .tools(List.of("tools"))
                        .build())
                .mcpServerNewRelic(MCPServerNewRelicConfigurationProperty.builder()
                        .accountId("accountId")
                        .endpoint("endpoint")
                        .build())
                .mcpServerSigV4(MCPServerSigV4ConfigurationProperty.builder()
                        .tools(List.of("tools"))
                        .build())
                .mcpServerSplunk(MCPServerSplunkConfigurationProperty.builder()
                        .description("description")
                        .enableWebhookUpdates(false)
                        .endpoint("endpoint")
                        .name("name")
                        .build())
                .pagerDuty(PagerDutyConfigurationProperty.builder()
                        .customerEmail("customerEmail")
                        .services(List.of("services"))

                        // the properties below are optional
                        .enableWebhookUpdates(false)
                        .build())
                .releaseManagement(ReleaseManagementConfigurationProperty.builder()
                        .name("name")
                        .networkAccess(NetworkAccessConfigurationProperty.builder()
                                .privateAccess(PrivateNetworkAccessProperty.builder()
                                        .privateConnectionName("privateConnectionName")
                                        .runtimeRoleArn("runtimeRoleArn")
                                        .build())
                                .build())
                        .build())
                .serviceNow(ServiceNowConfigurationProperty.builder()
                        .enableWebhookUpdates(false)
                        .instanceId("instanceId")
                        .build())
                .slack(SlackConfigurationProperty.builder()
                        .transmissionTarget(SlackTransmissionTargetProperty.builder()
                                .incidentResponseTarget(SlackChannelProperty.builder()
                                        .channelId("channelId")

                                        // the properties below are optional
                                        .channelName("channelName")
                                        .build())
                                .build())
                        .workspaceId("workspaceId")
                        .workspaceName("workspaceName")

                        // the properties below are optional
                        .bidirectional(SlackBidirectionalConfigurationProperty.builder()
                                .roleArn("roleArn")

                                // the properties below are optional
                                .enabled(false)
                                .build())
                        .build())
                .sourceAws(SourceAwsConfigurationProperty.builder()
                        .accountId("accountId")
                        .accountType("accountType")
                        .assumableRoleArn("assumableRoleArn")

                        // the properties below are optional
                        .agentElevatedRoleArn("agentElevatedRoleArn")
                        .resources(List.of(AWSResourceProperty.builder()
                                .resourceArn("resourceArn")

                                // the properties below are optional
                                .resourceMetadata(resourceMetadata)
                                .resourceType("resourceType")
                                .build()))
                        .tags(List.of(KeyValuePairProperty.builder()
                                .key("key")
                                .value("value")
                                .build()))
                        .build())
                .build())
        .serviceId("serviceId")

        // the properties below are optional
        .capabilities(CapabilitiesProperty.builder()
                .codeChangeRiskAnalysis(CapabilityConfigurationProperty.builder()
                        .enabled(false)
                        .triggerFilterGroups(List.of(TriggerFilterGroupProperty.builder()
                                .events(List.of("events"))
                                .targetBranches(PatternFilterProperty.builder()
                                        .patterns(List.of("patterns"))
                                        .build())
                                .build()))
                        .build())
                .codeChangeRiskAnalysisAutomatedTesting(AutomatedTestingCapabilityConfigurationProperty.builder()
                        .enabled(false)
                        .build())
                .build())
        .linkedAssociationIds(List.of("linkedAssociationIds"))
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.DevOpsAgent;

var resourceMetadata;

var cfnAssociationProps = new CfnAssociationProps {
    AgentSpaceId = "agentSpaceId",
    Configuration = new ServiceConfigurationProperty {
        Aws = new AWSConfigurationProperty {
            AccountId = "accountId",
            AccountType = "accountType",
            AssumableRoleArn = "assumableRoleArn",

            // the properties below are optional
            AgentElevatedRoleArn = "agentElevatedRoleArn",
            Resources = new [] { new AWSResourceProperty {
                ResourceArn = "resourceArn",

                // the properties below are optional
                ResourceMetadata = resourceMetadata,
                ResourceType = "resourceType"
            } },
            Tags = new [] { new KeyValuePairProperty {
                Key = "key",
                Value = "value"
            } }
        },
        Azure = new AzureConfigurationProperty {
            SubscriptionId = "subscriptionId"
        },
        Dynatrace = new DynatraceConfigurationProperty {
            EnvId = "envId",

            // the properties below are optional
            EnableWebhookUpdates = false,
            Resources = new [] { "resources" }
        },
        EventChannel = new EventChannelConfigurationProperty {
            EnableWebhookUpdates = false
        },
        GitHub = new GitHubConfigurationProperty {
            Owner = "owner",
            OwnerType = "ownerType",
            RepoId = "repoId",
            RepoName = "repoName",

            // the properties below are optional
            ReleaseManagementAssociationId = "releaseManagementAssociationId"
        },
        GitLab = new GitLabConfigurationProperty {
            ProjectId = "projectId",
            ProjectPath = "projectPath",

            // the properties below are optional
            EnableWebhookUpdates = false,
            InstanceIdentifier = "instanceIdentifier",
            ReleaseManagementAssociationId = "releaseManagementAssociationId"
        },
        McpServer = new MCPServerConfigurationProperty {
            Tools = new [] { "tools" },

            // the properties below are optional
            Description = "description",
            EnableWebhookUpdates = false,
            Endpoint = "endpoint",
            Name = "name"
        },
        McpServerDatadog = new MCPServerDatadogConfigurationProperty {
            Description = "description",
            EnabledElevatedTools = new [] { "enabledElevatedTools" },
            EnableWebhookUpdates = false,
            Endpoint = "endpoint",
            Name = "name"
        },
        McpServerGrafana = new MCPServerGrafanaConfigurationProperty {
            Endpoint = "endpoint",

            // the properties below are optional
            EnabledElevatedTools = new [] { "enabledElevatedTools" },
            EnableWebhookUpdates = false,
            Tools = new [] { "tools" }
        },
        McpServerNewRelic = new MCPServerNewRelicConfigurationProperty {
            AccountId = "accountId",
            Endpoint = "endpoint"
        },
        McpServerSigV4 = new MCPServerSigV4ConfigurationProperty {
            Tools = new [] { "tools" }
        },
        McpServerSplunk = new MCPServerSplunkConfigurationProperty {
            Description = "description",
            EnableWebhookUpdates = false,
            Endpoint = "endpoint",
            Name = "name"
        },
        PagerDuty = new PagerDutyConfigurationProperty {
            CustomerEmail = "customerEmail",
            Services = new [] { "services" },

            // the properties below are optional
            EnableWebhookUpdates = false
        },
        ReleaseManagement = new ReleaseManagementConfigurationProperty {
            Name = "name",
            NetworkAccess = new NetworkAccessConfigurationProperty {
                PrivateAccess = new PrivateNetworkAccessProperty {
                    PrivateConnectionName = "privateConnectionName",
                    RuntimeRoleArn = "runtimeRoleArn"
                }
            }
        },
        ServiceNow = new ServiceNowConfigurationProperty {
            EnableWebhookUpdates = false,
            InstanceId = "instanceId"
        },
        Slack = new SlackConfigurationProperty {
            TransmissionTarget = new SlackTransmissionTargetProperty {
                IncidentResponseTarget = new SlackChannelProperty {
                    ChannelId = "channelId",

                    // the properties below are optional
                    ChannelName = "channelName"
                }
            },
            WorkspaceId = "workspaceId",
            WorkspaceName = "workspaceName",

            // the properties below are optional
            Bidirectional = new SlackBidirectionalConfigurationProperty {
                RoleArn = "roleArn",

                // the properties below are optional
                Enabled = false
            }
        },
        SourceAws = new SourceAwsConfigurationProperty {
            AccountId = "accountId",
            AccountType = "accountType",
            AssumableRoleArn = "assumableRoleArn",

            // the properties below are optional
            AgentElevatedRoleArn = "agentElevatedRoleArn",
            Resources = new [] { new AWSResourceProperty {
                ResourceArn = "resourceArn",

                // the properties below are optional
                ResourceMetadata = resourceMetadata,
                ResourceType = "resourceType"
            } },
            Tags = new [] { new KeyValuePairProperty {
                Key = "key",
                Value = "value"
            } }
        }
    },
    ServiceId = "serviceId",

    // the properties below are optional
    Capabilities = new CapabilitiesProperty {
        CodeChangeRiskAnalysis = new CapabilityConfigurationProperty {
            Enabled = false,
            TriggerFilterGroups = new [] { new TriggerFilterGroupProperty {
                Events = new [] { "events" },
                TargetBranches = new PatternFilterProperty {
                    Patterns = new [] { "patterns" }
                }
            } }
        },
        CodeChangeRiskAnalysisAutomatedTesting = new AutomatedTestingCapabilityConfigurationProperty {
            Enabled = false
        }
    },
    LinkedAssociationIds = new [] { "linkedAssociationIds" }
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

var resourceMetadata interface{}

cfnAssociationProps := &CfnAssociationProps{
	AgentSpaceId: jsii.String("agentSpaceId"),
	Configuration: &ServiceConfigurationProperty{
		Aws: &AWSConfigurationProperty{
			AccountId: jsii.String("accountId"),
			AccountType: jsii.String("accountType"),
			AssumableRoleArn: jsii.String("assumableRoleArn"),

			// the properties below are optional
			AgentElevatedRoleArn: jsii.String("agentElevatedRoleArn"),
			Resources: []interface{}{
				&AWSResourceProperty{
					ResourceArn: jsii.String("resourceArn"),

					// the properties below are optional
					ResourceMetadata: resourceMetadata,
					ResourceType: jsii.String("resourceType"),
				},
			},
			Tags: []KeyValuePairProperty{
				&KeyValuePairProperty{
					Key: jsii.String("key"),
					Value: jsii.String("value"),
				},
			},
		},
		Azure: &AzureConfigurationProperty{
			SubscriptionId: jsii.String("subscriptionId"),
		},
		Dynatrace: &DynatraceConfigurationProperty{
			EnvId: jsii.String("envId"),

			// the properties below are optional
			EnableWebhookUpdates: jsii.Boolean(false),
			Resources: []*string{
				jsii.String("resources"),
			},
		},
		EventChannel: &EventChannelConfigurationProperty{
			EnableWebhookUpdates: jsii.Boolean(false),
		},
		GitHub: &GitHubConfigurationProperty{
			Owner: jsii.String("owner"),
			OwnerType: jsii.String("ownerType"),
			RepoId: jsii.String("repoId"),
			RepoName: jsii.String("repoName"),

			// the properties below are optional
			ReleaseManagementAssociationId: jsii.String("releaseManagementAssociationId"),
		},
		GitLab: &GitLabConfigurationProperty{
			ProjectId: jsii.String("projectId"),
			ProjectPath: jsii.String("projectPath"),

			// the properties below are optional
			EnableWebhookUpdates: jsii.Boolean(false),
			InstanceIdentifier: jsii.String("instanceIdentifier"),
			ReleaseManagementAssociationId: jsii.String("releaseManagementAssociationId"),
		},
		McpServer: &MCPServerConfigurationProperty{
			Tools: []*string{
				jsii.String("tools"),
			},

			// the properties below are optional
			Description: jsii.String("description"),
			EnableWebhookUpdates: jsii.Boolean(false),
			Endpoint: jsii.String("endpoint"),
			Name: jsii.String("name"),
		},
		McpServerDatadog: &MCPServerDatadogConfigurationProperty{
			Description: jsii.String("description"),
			EnabledElevatedTools: []*string{
				jsii.String("enabledElevatedTools"),
			},
			EnableWebhookUpdates: jsii.Boolean(false),
			Endpoint: jsii.String("endpoint"),
			Name: jsii.String("name"),
		},
		McpServerGrafana: &MCPServerGrafanaConfigurationProperty{
			Endpoint: jsii.String("endpoint"),

			// the properties below are optional
			EnabledElevatedTools: []*string{
				jsii.String("enabledElevatedTools"),
			},
			EnableWebhookUpdates: jsii.Boolean(false),
			Tools: []*string{
				jsii.String("tools"),
			},
		},
		McpServerNewRelic: &MCPServerNewRelicConfigurationProperty{
			AccountId: jsii.String("accountId"),
			Endpoint: jsii.String("endpoint"),
		},
		McpServerSigV4: &MCPServerSigV4ConfigurationProperty{
			Tools: []*string{
				jsii.String("tools"),
			},
		},
		McpServerSplunk: &MCPServerSplunkConfigurationProperty{
			Description: jsii.String("description"),
			EnableWebhookUpdates: jsii.Boolean(false),
			Endpoint: jsii.String("endpoint"),
			Name: jsii.String("name"),
		},
		PagerDuty: &PagerDutyConfigurationProperty{
			CustomerEmail: jsii.String("customerEmail"),
			Services: []*string{
				jsii.String("services"),
			},

			// the properties below are optional
			EnableWebhookUpdates: jsii.Boolean(false),
		},
		ReleaseManagement: &ReleaseManagementConfigurationProperty{
			Name: jsii.String("name"),
			NetworkAccess: &NetworkAccessConfigurationProperty{
				PrivateAccess: &PrivateNetworkAccessProperty{
					PrivateConnectionName: jsii.String("privateConnectionName"),
					RuntimeRoleArn: jsii.String("runtimeRoleArn"),
				},
			},
		},
		ServiceNow: &ServiceNowConfigurationProperty{
			EnableWebhookUpdates: jsii.Boolean(false),
			InstanceId: jsii.String("instanceId"),
		},
		Slack: &SlackConfigurationProperty{
			TransmissionTarget: &SlackTransmissionTargetProperty{
				IncidentResponseTarget: &SlackChannelProperty{
					ChannelId: jsii.String("channelId"),

					// the properties below are optional
					ChannelName: jsii.String("channelName"),
				},
			},
			WorkspaceId: jsii.String("workspaceId"),
			WorkspaceName: jsii.String("workspaceName"),

			// the properties below are optional
			Bidirectional: &SlackBidirectionalConfigurationProperty{
				RoleArn: jsii.String("roleArn"),

				// the properties below are optional
				Enabled: jsii.Boolean(false),
			},
		},
		SourceAws: &SourceAwsConfigurationProperty{
			AccountId: jsii.String("accountId"),
			AccountType: jsii.String("accountType"),
			AssumableRoleArn: jsii.String("assumableRoleArn"),

			// the properties below are optional
			AgentElevatedRoleArn: jsii.String("agentElevatedRoleArn"),
			Resources: []interface{}{
				&AWSResourceProperty{
					ResourceArn: jsii.String("resourceArn"),

					// the properties below are optional
					ResourceMetadata: resourceMetadata,
					ResourceType: jsii.String("resourceType"),
				},
			},
			Tags: []KeyValuePairProperty{
				&KeyValuePairProperty{
					Key: jsii.String("key"),
					Value: jsii.String("value"),
				},
			},
		},
	},
	ServiceId: jsii.String("serviceId"),

	// the properties below are optional
	Capabilities: &CapabilitiesProperty{
		CodeChangeRiskAnalysis: &CapabilityConfigurationProperty{
			Enabled: jsii.Boolean(false),
			TriggerFilterGroups: []interface{}{
				&TriggerFilterGroupProperty{
					Events: []*string{
						jsii.String("events"),
					},
					TargetBranches: &PatternFilterProperty{
						Patterns: []*string{
							jsii.String("patterns"),
						},
					},
				},
			},
		},
		CodeChangeRiskAnalysisAutomatedTesting: &AutomatedTestingCapabilityConfigurationProperty{
			Enabled: jsii.Boolean(false),
		},
	},
	LinkedAssociationIds: []*string{
		jsii.String("linkedAssociationIds"),
	},
}

Properties ​

agentSpaceIdstringagent_space_idstragentSpaceIdStringAgentSpaceIdstringAgentSpaceId*string required #
The unique identifier of the Agent Space.
capabilitiesoptionalIResolvable | CfnAssociation.CapabilitiesPropertycapabilitiesoptionaltyping.Union[IResolvable, CapabilitiesProperty]capabilitiesoptionalIResolvableCapabilitiesoptionalIResolvableCapabilitiesoptionalinterface{} #
Automated AWS DevOps Agent capabilities for the repository in this association.
notes

Code change risk analysis analyzes pull requests and merge requests for deployment risk, and automated testing extends that analysis by running tests against the change. Capabilities are supported for GitHub and GitLab associations. When this property is set, it fully defines both capabilities below: a capability omitted here is removed from the association. Removing this property from a template that previously set it disables both capabilities. Capabilities configured outside CloudFormation are left unchanged only while this property has never been set. On rollback, both capabilities are restored to the previous template's values, not to settings made outside CloudFormation. Other capabilities on the association are not affected. Updates read and rewrite the association's full capability set, so a capability change made outside CloudFormation while a stack update is in progress may be overwritten.

configurationIResolvable | CfnAssociation.ServiceConfigurationPropertyconfigurationtyping.Union[IResolvable, ServiceConfigurationProperty]configurationIResolvableConfigurationIResolvableConfigurationinterface{} required #
The configuration that directs how the Agent Space interacts with the given service.
notes

You can specify only one configuration type per association.

Allowed Values : SourceAws | Aws | GitHub | GitLab | Slack | Dynatrace | ServiceNow | MCPServer | MCPServerNewRelic | MCPServerDatadog | MCPServerSplunk | EventChannel

linkedAssociationIdsoptionalstring[]linked_association_idsoptionaltyping.List[str]linkedAssociationIdsoptionalList<String>LinkedAssociationIdsoptionalstring[]LinkedAssociationIdsoptional*[]*string #
Set of linked association IDs for parent-child relationships.
serviceIdstringservice_idstrserviceIdStringServiceIdstringServiceId*string required #
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.