Interface CfnAssociation.ServiceConfigurationProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnAssociation.ServiceConfigurationProperty.Jsii$Proxy
Enclosing class:
CfnAssociation

@Stability(Stable) public static interface CfnAssociation.ServiceConfigurationProperty extends software.amazon.jsii.JsiiSerializable
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: