ServiceConfigurationProperty Struct
The configuration that directs how Agent Space interacts with the given service.
You can specify only one configuration type per association.
Example
// 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 serviceConfigurationProperty: devopsagent.CfnAssociation.ServiceConfigurationProperty = {
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',
},
gitLab: {
projectId: 'projectId',
projectPath: 'projectPath',
// the properties below are optional
enableWebhookUpdates: false,
instanceIdentifier: 'instanceIdentifier',
},
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,
},
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',
}],
},
};
Properties
awsoptionalIResolvable | CfnAssociation.AWSConfigurationPropertyawsoptionaltyping.Union[IResolvable, AWSConfigurationProperty]awsoptionalIResolvableAwsoptionalIResolvableAwsoptionalinterface{}#Specifies the account ID, assumable role ARN, and resources to be monitored in the primary monitoring account.
azureoptionalIResolvable | CfnAssociation.AzureConfigurationPropertyazureoptionaltyping.Union[IResolvable, AzureConfigurationProperty]azureoptionalIResolvableAzureoptionalIResolvableAzureoptionalinterface{}#dynatraceoptionalIResolvable | CfnAssociation.DynatraceConfigurationPropertydynatraceoptionaltyping.Union[IResolvable, DynatraceConfigurationProperty]dynatraceoptionalIResolvableDynatraceoptionalIResolvableDynatraceoptionalinterface{}#Specifies the environment ID, resources to monitor, and webhook settings to enable the Agent Space to access Dynatrace metrics, traces, and logs.
eventChanneloptionalIResolvable | CfnAssociation.EventChannelConfigurationPropertyevent_channeloptionaltyping.Union[IResolvable, EventChannelConfigurationProperty]eventChanneloptionalIResolvableEventChanneloptionalIResolvableEventChanneloptionalinterface{}#Specifies webhook settings to enable the Agent Space to receive and process real-time events from external systems.
gitHuboptionalIResolvable | CfnAssociation.GitHubConfigurationPropertygit_huboptionaltyping.Union[IResolvable, GitHubConfigurationProperty]gitHuboptionalIResolvableGitHuboptionalIResolvableGitHuboptionalinterface{}#Specifies the repository name, repository ID, owner, and owner type to enable the Agent Space to access code, pull requests, and issues.
gitLaboptionalIResolvable | CfnAssociation.GitLabConfigurationPropertygit_laboptionaltyping.Union[IResolvable, GitLabConfigurationProperty]gitLaboptionalIResolvableGitLaboptionalIResolvableGitLaboptionalinterface{}#Specifies the project ID, project path, instance identifier, and webhook settings to enable the Agent Space to access code, merge requests, and issues.
mcpServeroptionalIResolvable | CfnAssociation.MCPServerConfigurationPropertymcp_serveroptionaltyping.Union[IResolvable, MCPServerConfigurationProperty]mcpServeroptionalIResolvableMcpServeroptionalIResolvableMcpServeroptionalinterface{}#Specifies the server name, endpoint URL, available tools, description, and webhook settings to enable the Agent Space to interact with custom MCP servers.
mcpServerDatadogoptionalIResolvable | CfnAssociation.MCPServerDatadogConfigurationPropertymcp_server_datadogoptionaltyping.Union[IResolvable, MCPServerDatadogConfigurationProperty]mcpServerDatadogoptionalIResolvableMcpServerDatadogoptionalIResolvableMcpServerDatadogoptionalinterface{}#Specifies the server name, endpoint URL, optional description, and webhook settings to enable the Agent Space to query metrics, traces, and logs from Datadog.
mcpServerGrafanaoptionalIResolvable | CfnAssociation.MCPServerGrafanaConfigurationPropertymcp_server_grafanaoptionaltyping.Union[IResolvable, MCPServerGrafanaConfigurationProperty]mcpServerGrafanaoptionalIResolvableMcpServerGrafanaoptionalIResolvableMcpServerGrafanaoptionalinterface{}#mcpServerNewRelicoptionalIResolvable | CfnAssociation.MCPServerNewRelicConfigurationPropertymcp_server_new_relicoptionaltyping.Union[IResolvable, MCPServerNewRelicConfigurationProperty]mcpServerNewRelicoptionalIResolvableMcpServerNewRelicoptionalIResolvableMcpServerNewRelicoptionalinterface{}#Specifies the New Relic account ID and MCP endpoint URL to enable the Agent Space to query metrics, traces, and logs from New Relic.
mcpServerSigV4optionalIResolvable | CfnAssociation.MCPServerSigV4ConfigurationPropertymcp_server_sig_v4optionaltyping.Union[IResolvable, MCPServerSigV4ConfigurationProperty]mcpServerSigV4optionalIResolvableMcpServerSigV4optionalIResolvableMcpServerSigV4optionalinterface{}#mcpServerSplunkoptionalIResolvable | CfnAssociation.MCPServerSplunkConfigurationPropertymcp_server_splunkoptionaltyping.Union[IResolvable, MCPServerSplunkConfigurationProperty]mcpServerSplunkoptionalIResolvableMcpServerSplunkoptionalIResolvableMcpServerSplunkoptionalinterface{}#Specifies the server name, endpoint URL, optional description, and webhook settings to enable the Agent Space to query logs, metrics, and events from Splunk.
pagerDutyoptionalIResolvable | CfnAssociation.PagerDutyConfigurationPropertypager_dutyoptionaltyping.Union[IResolvable, PagerDutyConfigurationProperty]pagerDutyoptionalIResolvablePagerDutyoptionalIResolvablePagerDutyoptionalinterface{}#serviceNowoptionalIResolvable | CfnAssociation.ServiceNowConfigurationPropertyservice_nowoptionaltyping.Union[IResolvable, ServiceNowConfigurationProperty]serviceNowoptionalIResolvableServiceNowoptionalIResolvableServiceNowoptionalinterface{}#Specifies the instance URL, instance ID, and webhook settings to enable the Agent Space to create, update, and manage ServiceNow incidents and change requests.
slackoptionalIResolvable | CfnAssociation.SlackConfigurationPropertyslackoptionaltyping.Union[IResolvable, SlackConfigurationProperty]slackoptionalIResolvableSlackoptionalIResolvableSlackoptionalinterface{}#Specifies the workspace ID, workspace name, and transmission targets to enable the Agent Space to send notifications to designated Slack channels.
sourceAwsoptionalIResolvable | CfnAssociation.SourceAwsConfigurationPropertysource_awsoptionaltyping.Union[IResolvable, SourceAwsConfigurationProperty]sourceAwsoptionalIResolvableSourceAwsoptionalIResolvableSourceAwsoptionalinterface{}#Specifies the account ID, assumable role ARN, and resources to be monitored in the source account.