Interface CfnAssociationProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnAssociationProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.120.0 (build 192dc88)", date="2025-12-05T22:26:34.182Z") @Stability(Stable) public interface CfnAssociationProps extends software.amazon.jsii.JsiiSerializable
Properties for defining a CfnAssociation.

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;
 CfnAssociationProps cfnAssociationProps = CfnAssociationProps.builder()
         .agentSpaceId("agentSpaceId")
         .configuration(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())
         .serviceId("serviceId")
         .build();
 

See Also: