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
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',
enableWebhookUpdates: false,
endpoint: 'endpoint',
name: 'name',
},
mcpServerGrafana: {
endpoint: 'endpoint',
// the properties below are optional
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',
},
sourceAws: {
accountId: 'accountId',
accountType: 'accountType',
assumableRoleArn: 'assumableRoleArn',
// the properties below are optional
resources: [{
resourceArn: 'resourceArn',
// the properties below are optional
resourceMetadata: resourceMetadata,
resourceType: 'resourceType',
}],
tags: [{
key: 'key',
value: 'value',
}],
},
};
Properties
awsIResolvable | CfnAssociation.AWSConfigurationPropertyawstyping.Union[IResolvable, AWSConfigurationProperty]awsIResolvableAwsIResolvableAwsinterface{}#Specifies the account ID, assumable role ARN, and resources to be monitored in the primary monitoring account.
azureIResolvable | CfnAssociation.AzureConfigurationPropertyazuretyping.Union[IResolvable, AzureConfigurationProperty]azureIResolvableAzureIResolvableAzureinterface{}#dynatraceIResolvable | CfnAssociation.DynatraceConfigurationPropertydynatracetyping.Union[IResolvable, DynatraceConfigurationProperty]dynatraceIResolvableDynatraceIResolvableDynatraceinterface{}#Specifies the environment ID, resources to monitor, and webhook settings to enable the Agent Space to access Dynatrace metrics, traces, and logs.
eventChannelIResolvable | CfnAssociation.EventChannelConfigurationPropertyevent_channeltyping.Union[IResolvable, EventChannelConfigurationProperty]eventChannelIResolvableEventChannelIResolvableEventChannelinterface{}#Specifies webhook settings to enable the Agent Space to receive and process real-time events from external systems.
gitHubIResolvable | CfnAssociation.GitHubConfigurationPropertygit_hubtyping.Union[IResolvable, GitHubConfigurationProperty]gitHubIResolvableGitHubIResolvableGitHubinterface{}#Specifies the repository name, repository ID, owner, and owner type to enable the Agent Space to access code, pull requests, and issues.
gitLabIResolvable | CfnAssociation.GitLabConfigurationPropertygit_labtyping.Union[IResolvable, GitLabConfigurationProperty]gitLabIResolvableGitLabIResolvableGitLabinterface{}#Specifies the project ID, project path, instance identifier, and webhook settings to enable the Agent Space to access code, merge requests, and issues.
mcpServerIResolvable | CfnAssociation.MCPServerConfigurationPropertymcp_servertyping.Union[IResolvable, MCPServerConfigurationProperty]mcpServerIResolvableMcpServerIResolvableMcpServerinterface{}#Specifies the server name, endpoint URL, available tools, description, and webhook settings to enable the Agent Space to interact with custom MCP servers.
mcpServerDatadogIResolvable | CfnAssociation.MCPServerDatadogConfigurationPropertymcp_server_datadogtyping.Union[IResolvable, MCPServerDatadogConfigurationProperty]mcpServerDatadogIResolvableMcpServerDatadogIResolvableMcpServerDatadoginterface{}#Specifies the server name, endpoint URL, optional description, and webhook settings to enable the Agent Space to query metrics, traces, and logs from Datadog.
mcpServerGrafanaIResolvable | CfnAssociation.MCPServerGrafanaConfigurationPropertymcp_server_grafanatyping.Union[IResolvable, MCPServerGrafanaConfigurationProperty]mcpServerGrafanaIResolvableMcpServerGrafanaIResolvableMcpServerGrafanainterface{}#mcpServerNewRelicIResolvable | CfnAssociation.MCPServerNewRelicConfigurationPropertymcp_server_new_relictyping.Union[IResolvable, MCPServerNewRelicConfigurationProperty]mcpServerNewRelicIResolvableMcpServerNewRelicIResolvableMcpServerNewRelicinterface{}#Specifies the New Relic account ID and MCP endpoint URL to enable the Agent Space to query metrics, traces, and logs from New Relic.
mcpServerSigV4IResolvable | CfnAssociation.MCPServerSigV4ConfigurationPropertymcp_server_sig_v4typing.Union[IResolvable, MCPServerSigV4ConfigurationProperty]mcpServerSigV4IResolvableMcpServerSigV4IResolvableMcpServerSigV4interface{}#mcpServerSplunkIResolvable | CfnAssociation.MCPServerSplunkConfigurationPropertymcp_server_splunktyping.Union[IResolvable, MCPServerSplunkConfigurationProperty]mcpServerSplunkIResolvableMcpServerSplunkIResolvableMcpServerSplunkinterface{}#Specifies the server name, endpoint URL, optional description, and webhook settings to enable the Agent Space to query logs, metrics, and events from Splunk.
pagerDutyIResolvable | CfnAssociation.PagerDutyConfigurationPropertypager_dutytyping.Union[IResolvable, PagerDutyConfigurationProperty]pagerDutyIResolvablePagerDutyIResolvablePagerDutyinterface{}#serviceNowIResolvable | CfnAssociation.ServiceNowConfigurationPropertyservice_nowtyping.Union[IResolvable, ServiceNowConfigurationProperty]serviceNowIResolvableServiceNowIResolvableServiceNowinterface{}#Specifies the instance URL, instance ID, and webhook settings to enable the Agent Space to create, update, and manage ServiceNow incidents and change requests.
slackIResolvable | CfnAssociation.SlackConfigurationPropertyslacktyping.Union[IResolvable, SlackConfigurationProperty]slackIResolvableSlackIResolvableSlackinterface{}#Specifies the workspace ID, workspace name, and transmission targets to enable the Agent Space to send notifications to designated Slack channels.
sourceAwsIResolvable | CfnAssociation.SourceAwsConfigurationPropertysource_awstyping.Union[IResolvable, SourceAwsConfigurationProperty]sourceAwsIResolvableSourceAwsIResolvableSourceAwsinterface{}#Specifies the account ID, assumable role ARN, and resources to be monitored in the source account.