Interface CfnAssociationMixinProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnAssociationMixinProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-03-11T13:19:58.056Z")
@Stability(Stable)
public interface CfnAssociationMixinProps
extends software.amazon.jsii.JsiiSerializable
Properties for CfnAssociationPropsMixin.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.devopsagent.*;
Object resourceMetadata;
CfnAssociationMixinProps cfnAssociationMixinProps = CfnAssociationMixinProps.builder()
.agentSpaceId("agentSpaceId")
.configuration(ServiceConfigurationProperty.builder()
.aws(AWSConfigurationProperty.builder()
.accountId("accountId")
.accountType("accountType")
.assumableRoleArn("assumableRoleArn")
.resources(List.of(AWSResourceProperty.builder()
.resourceArn("resourceArn")
.resourceMetadata(resourceMetadata)
.resourceType("resourceType")
.build()))
.tags(List.of(KeyValuePairProperty.builder()
.key("key")
.value("value")
.build()))
.build())
.dynatrace(DynatraceConfigurationProperty.builder()
.enableWebhookUpdates(false)
.envId("envId")
.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()
.enableWebhookUpdates(false)
.instanceIdentifier("instanceIdentifier")
.projectId("projectId")
.projectPath("projectPath")
.build())
.mcpServer(MCPServerConfigurationProperty.builder()
.description("description")
.enableWebhookUpdates(false)
.endpoint("endpoint")
.name("name")
.tools(List.of("tools"))
.build())
.mcpServerDatadog(MCPServerDatadogConfigurationProperty.builder()
.description("description")
.enableWebhookUpdates(false)
.endpoint("endpoint")
.name("name")
.build())
.mcpServerNewRelic(MCPServerNewRelicConfigurationProperty.builder()
.accountId("accountId")
.endpoint("endpoint")
.build())
.mcpServerSplunk(MCPServerSplunkConfigurationProperty.builder()
.description("description")
.enableWebhookUpdates(false)
.endpoint("endpoint")
.name("name")
.build())
.serviceNow(ServiceNowConfigurationProperty.builder()
.enableWebhookUpdates(false)
.instanceId("instanceId")
.build())
.slack(SlackConfigurationProperty.builder()
.transmissionTarget(SlackTransmissionTargetProperty.builder()
.incidentResponseTarget(SlackChannelProperty.builder()
.channelId("channelId")
.channelName("channelName")
.build())
.build())
.workspaceId("workspaceId")
.workspaceName("workspaceName")
.build())
.sourceAws(SourceAwsConfigurationProperty.builder()
.accountId("accountId")
.accountType("accountType")
.assumableRoleArn("assumableRoleArn")
.resources(List.of(AWSResourceProperty.builder()
.resourceArn("resourceArn")
.resourceMetadata(resourceMetadata)
.resourceType("resourceType")
.build()))
.tags(List.of(KeyValuePairProperty.builder()
.key("key")
.value("value")
.build()))
.build())
.build())
.linkedAssociationIds(List.of("linkedAssociationIds"))
.serviceId("serviceId")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnAssociationMixinPropsstatic final classAn implementation forCfnAssociationMixinProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe unique identifier of the Agent Space.default ObjectThe configuration that directs how the Agent Space interacts with the given service.Set of linked association IDs for parent-child relationships.default StringThe identifier for the associated service.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAgentSpaceId
The unique identifier of the Agent Space.- See Also:
-
getConfiguration
The configuration that directs how the Agent Space interacts with the given service.You can specify only one configuration type per association.
Allowed Values :
SourceAws|Aws|GitHub|GitLab|Slack|Dynatrace|ServiceNow|MCPServer|MCPServerNewRelic|MCPServerDatadog|MCPServerSplunk|EventChannelReturns union: either
IResolvableorCfnAssociationPropsMixin.ServiceConfigurationProperty- See Also:
-
getLinkedAssociationIds
Set of linked association IDs for parent-child relationships.- See Also:
-
getServiceId
The identifier for the associated service.For
SourceAwsandAwsconfigurations, this must beaws. For all other service types, this is a UUID generated from the RegisterService command.- See Also:
-
builder
- Returns:
- a
CfnAssociationMixinProps.BuilderofCfnAssociationMixinProps
-