Interface CfnAssociation.ServiceConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnAssociation.ServiceConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnAssociation
// 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()AWS association for 'monitor' account.default ObjectDynatrace monitoring configuration.default ObjectEventChannelconfiguration.default ObjectGitHub repository integration configuration.default ObjectGitLab project integration configuration.default ObjectMCP server configuration.default ObjectDatadog MCP server configuration.default ObjectNewRelic MCP server configuration.default ObjectSplunk MCP server configuration.default ObjectServiceNow integration configuration.default ObjectgetSlack()Slack workspace integration configuration.default ObjectAWS association for 'source' account.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAws
AWS association for 'monitor' account.Returns union: either
IResolvableorCfnAssociation.AWSConfigurationProperty- See Also:
-
getDynatrace
Dynatrace monitoring configuration.Returns union: either
IResolvableorCfnAssociation.DynatraceConfigurationProperty- See Also:
-
getEventChannel
EventChannelconfiguration.Returns union: either
IResolvableorCfnAssociation.EventChannelConfigurationProperty- See Also:
-
getGitHub
GitHub repository integration configuration.Returns union: either
IResolvableorCfnAssociation.GitHubConfigurationProperty- See Also:
-
getGitLab
GitLab project integration configuration.Returns union: either
IResolvableorCfnAssociation.GitLabConfigurationProperty- See Also:
-
getMcpServer
MCP server configuration.Returns union: either
IResolvableorCfnAssociation.MCPServerConfigurationProperty- See Also:
-
getMcpServerDatadog
Datadog MCP server configuration.Returns union: either
IResolvableorCfnAssociation.MCPServerDatadogConfigurationProperty- See Also:
-
getMcpServerNewRelic
NewRelic MCP server configuration.Returns union: either
IResolvableorCfnAssociation.MCPServerNewRelicConfigurationProperty- See Also:
-
getMcpServerSplunk
Splunk MCP server configuration.Returns union: either
IResolvableorCfnAssociation.MCPServerSplunkConfigurationProperty- See Also:
-
getServiceNow
ServiceNow integration configuration.Returns union: either
IResolvableorCfnAssociation.ServiceNowConfigurationProperty- See Also:
-
getSlack
Slack workspace integration configuration.Returns union: either
IResolvableorCfnAssociation.SlackConfigurationProperty- See Also:
-
getSourceAws
AWS association for 'source' account.Returns union: either
IResolvableorCfnAssociation.SourceAwsConfigurationProperty- See Also:
-
builder
-