Interface CfnAssociation.ServiceConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnAssociation.ServiceConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnAssociation
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 software.amazon.awscdk.services.devopsagent.*;
Object resourceMetadata;
ServiceConfigurationProperty serviceConfigurationProperty = ServiceConfigurationProperty.builder()
.aws(AWSConfigurationProperty.builder()
.accountId("accountId")
.accountType("accountType")
.assumableRoleArn("assumableRoleArn")
// the properties below are optional
.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())
.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")
.build())
.gitLab(GitLabConfigurationProperty.builder()
.projectId("projectId")
.projectPath("projectPath")
// the properties below are optional
.enableWebhookUpdates(false)
.instanceIdentifier("instanceIdentifier")
.build())
.mcpServer(MCPServerConfigurationProperty.builder()
.endpoint("endpoint")
.name("name")
.tools(List.of("tools"))
// the properties below are optional
.description("description")
.enableWebhookUpdates(false)
.build())
.mcpServerDatadog(MCPServerDatadogConfigurationProperty.builder()
.endpoint("endpoint")
.name("name")
// the properties below are optional
.description("description")
.enableWebhookUpdates(false)
.build())
.mcpServerNewRelic(MCPServerNewRelicConfigurationProperty.builder()
.accountId("accountId")
.endpoint("endpoint")
.build())
.mcpServerSplunk(MCPServerSplunkConfigurationProperty.builder()
.endpoint("endpoint")
.name("name")
// the properties below are optional
.description("description")
.enableWebhookUpdates(false)
.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")
.build())
.sourceAws(SourceAwsConfigurationProperty.builder()
.accountId("accountId")
.accountType("accountType")
.assumableRoleArn("assumableRoleArn")
// the properties below are optional
.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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnAssociation.ServiceConfigurationPropertystatic final classAn implementation forCfnAssociation.ServiceConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectgetAws()Configuration for AWS monitor account integration.default ObjectConfiguration for Dynatrace monitoring integration.default ObjectConfiguration for Event Channel integration.default ObjectConfiguration for GitHub repository integration.default ObjectConfiguration for GitLab project integration.default ObjectConfiguration for custom MCP (Model Context Protocol) server integration.default ObjectConfiguration for Datadog MCP server integration.default ObjectConfiguration for New Relic MCP server integration.default ObjectConfiguration for Splunk MCP server integration.default ObjectConfiguration for ServiceNow instance integration.default ObjectgetSlack()Configuration for Slack workspace integration.default ObjectConfiguration for AWS source account integration.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAws
Configuration for AWS monitor account integration.Specifies the account ID, assumable role ARN, and resources to be monitored in the primary monitoring account.
Returns union: either
IResolvableorCfnAssociation.AWSConfigurationProperty- See Also:
-
getDynatrace
Configuration for Dynatrace monitoring integration.Specifies the environment ID, resources to monitor, and webhook settings to enable the Agent Space to access Dynatrace metrics, traces, and logs.
Returns union: either
IResolvableorCfnAssociation.DynatraceConfigurationProperty- See Also:
-
getEventChannel
Configuration for Event Channel integration.Specifies webhook settings to enable the Agent Space to receive and process real-time events from external systems.
Returns union: either
IResolvableorCfnAssociation.EventChannelConfigurationProperty- See Also:
-
getGitHub
Configuration for GitHub repository integration.Specifies the repository name, repository ID, owner, and owner type to enable the Agent Space to access code, pull requests, and issues.
Returns union: either
IResolvableorCfnAssociation.GitHubConfigurationProperty- See Also:
-
getGitLab
Configuration for GitLab project integration.Specifies the project ID, project path, instance identifier, and webhook settings to enable the Agent Space to access code, merge requests, and issues.
Returns union: either
IResolvableorCfnAssociation.GitLabConfigurationProperty- See Also:
-
getMcpServer
Configuration for custom MCP (Model Context Protocol) server integration.Specifies the server name, endpoint URL, available tools, description, and webhook settings to enable the Agent Space to interact with custom MCP servers.
Returns union: either
IResolvableorCfnAssociation.MCPServerConfigurationProperty- See Also:
-
getMcpServerDatadog
Configuration for Datadog MCP server integration.Specifies the server name, endpoint URL, optional description, and webhook settings to enable the Agent Space to query metrics, traces, and logs from Datadog.
Returns union: either
IResolvableorCfnAssociation.MCPServerDatadogConfigurationProperty- See Also:
-
getMcpServerNewRelic
Configuration for New Relic MCP server integration.Specifies the New Relic account ID and MCP endpoint URL to enable the Agent Space to query metrics, traces, and logs from New Relic.
Returns union: either
IResolvableorCfnAssociation.MCPServerNewRelicConfigurationProperty- See Also:
-
getMcpServerSplunk
Configuration for Splunk MCP server integration.Specifies the server name, endpoint URL, optional description, and webhook settings to enable the Agent Space to query logs, metrics, and events from Splunk.
Returns union: either
IResolvableorCfnAssociation.MCPServerSplunkConfigurationProperty- See Also:
-
getServiceNow
Configuration for ServiceNow instance integration.Specifies the instance URL, instance ID, and webhook settings to enable the Agent Space to create, update, and manage ServiceNow incidents and change requests.
Returns union: either
IResolvableorCfnAssociation.ServiceNowConfigurationProperty- See Also:
-
getSlack
Configuration for Slack workspace integration.Specifies the workspace ID, workspace name, and transmission targets to enable the Agent Space to send notifications to designated Slack channels.
Returns union: either
IResolvableorCfnAssociation.SlackConfigurationProperty- See Also:
-
getSourceAws
Configuration for AWS source account integration.Specifies the account ID, assumable role ARN, and resources to be monitored in the source account.
Returns union: either
IResolvableorCfnAssociation.SourceAwsConfigurationProperty- See Also:
-
builder
-