CfnAssociationPropsMixin
- class aws_cdk.mixins_preview.aws_devopsagent.mixins.CfnAssociationPropsMixin(props, *, strategy=None)
Bases:
MixinThe
AWS::DevOpsAgent::Associationresource specifies an association between an Agent Space and a service, defining how the Agent Space interacts with external services like GitHub, Slack, AWS accounts, and others.- See:
- CloudformationResource:
AWS::DevOpsAgent::Association
- Mixin:
true
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview import mixins from aws_cdk.mixins_preview.aws_devopsagent import mixins as devopsagent_mixins # resource_metadata: Any cfn_association_props_mixin = devopsagent_mixins.CfnAssociationPropsMixin(devopsagent_mixins.CfnAssociationMixinProps( agent_space_id="agentSpaceId", configuration=devopsagent_mixins.CfnAssociationPropsMixin.ServiceConfigurationProperty( aws=devopsagent_mixins.CfnAssociationPropsMixin.AWSConfigurationProperty( account_id="accountId", account_type="accountType", assumable_role_arn="assumableRoleArn", resources=[devopsagent_mixins.CfnAssociationPropsMixin.AWSResourceProperty( resource_arn="resourceArn", resource_metadata=resource_metadata, resource_type="resourceType" )], tags=[devopsagent_mixins.CfnAssociationPropsMixin.KeyValuePairProperty( key="key", value="value" )] ), dynatrace=devopsagent_mixins.CfnAssociationPropsMixin.DynatraceConfigurationProperty( enable_webhook_updates=False, env_id="envId", resources=["resources"] ), event_channel=devopsagent_mixins.CfnAssociationPropsMixin.EventChannelConfigurationProperty( enable_webhook_updates=False ), git_hub=devopsagent_mixins.CfnAssociationPropsMixin.GitHubConfigurationProperty( owner="owner", owner_type="ownerType", repo_id="repoId", repo_name="repoName" ), git_lab=devopsagent_mixins.CfnAssociationPropsMixin.GitLabConfigurationProperty( enable_webhook_updates=False, instance_identifier="instanceIdentifier", project_id="projectId", project_path="projectPath" ), mcp_server=devopsagent_mixins.CfnAssociationPropsMixin.MCPServerConfigurationProperty( description="description", enable_webhook_updates=False, endpoint="endpoint", name="name", tools=["tools"] ), mcp_server_datadog=devopsagent_mixins.CfnAssociationPropsMixin.MCPServerDatadogConfigurationProperty( description="description", enable_webhook_updates=False, endpoint="endpoint", name="name" ), mcp_server_new_relic=devopsagent_mixins.CfnAssociationPropsMixin.MCPServerNewRelicConfigurationProperty( account_id="accountId", endpoint="endpoint" ), mcp_server_splunk=devopsagent_mixins.CfnAssociationPropsMixin.MCPServerSplunkConfigurationProperty( description="description", enable_webhook_updates=False, endpoint="endpoint", name="name" ), service_now=devopsagent_mixins.CfnAssociationPropsMixin.ServiceNowConfigurationProperty( enable_webhook_updates=False, instance_id="instanceId" ), slack=devopsagent_mixins.CfnAssociationPropsMixin.SlackConfigurationProperty( transmission_target=devopsagent_mixins.CfnAssociationPropsMixin.SlackTransmissionTargetProperty( incident_response_target=devopsagent_mixins.CfnAssociationPropsMixin.SlackChannelProperty( channel_id="channelId", channel_name="channelName" ) ), workspace_id="workspaceId", workspace_name="workspaceName" ), source_aws=devopsagent_mixins.CfnAssociationPropsMixin.SourceAwsConfigurationProperty( account_id="accountId", account_type="accountType", assumable_role_arn="assumableRoleArn", resources=[devopsagent_mixins.CfnAssociationPropsMixin.AWSResourceProperty( resource_arn="resourceArn", resource_metadata=resource_metadata, resource_type="resourceType" )], tags=[devopsagent_mixins.CfnAssociationPropsMixin.KeyValuePairProperty( key="key", value="value" )] ) ), linked_association_ids=["linkedAssociationIds"], service_id="serviceId" ), strategy=mixins.PropertyMergeStrategy.OVERRIDE )
Create a mixin to apply properties to
AWS::DevOpsAgent::Association.- Parameters:
props (
Union[CfnAssociationMixinProps,Dict[str,Any]]) – L1 properties to apply.strategy (
Optional[PropertyMergeStrategy]) – (experimental) Strategy for merging nested properties. Default: - PropertyMergeStrategy.MERGE
Methods
- apply_to(construct)
Apply the mixin properties to the construct.
- Parameters:
construct (
IConstruct)- Return type:
None
- supports(construct)
Check if this mixin supports the given construct.
- Parameters:
construct (
IConstruct)- Return type:
bool
Attributes
- CFN_PROPERTY_KEYS = ['agentSpaceId', 'configuration', 'linkedAssociationIds', 'serviceId']
Static Methods
- classmethod is_mixin(x)
(experimental) Checks if
xis a Mixin.- Parameters:
x (
Any) – Any object.- Return type:
bool- Returns:
true if
xis an object created from a class which extendsMixin.- Stability:
experimental
AWSConfigurationProperty
- class CfnAssociationPropsMixin.AWSConfigurationProperty(*, account_id=None, account_type=None, assumable_role_arn=None, resources=None, tags=None)
Bases:
objectConfiguration for AWS monitor account integration.
Specifies the account ID, assumable role ARN, and resources to be monitored in the primary monitoring account.
- Parameters:
account_id (
Optional[str]) – Account ID corresponding to the provided resources.account_type (
Optional[str]) – Account Type ‘monitor’ for AWS DevOps Agent monitoring.assumable_role_arn (
Optional[str]) – Role ARN used by AWS DevOps Agent to access resources in the primary account.resources (
Union[IResolvable,Sequence[Union[IResolvable,AWSResourceProperty,Dict[str,Any]]],None]) – List of resources to monitor.tags (
Optional[Sequence[Union[KeyValuePairProperty,Dict[str,Any]]]]) – List of tags as key-value pairs, used to identify resources for topology crawl.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_devopsagent import mixins as devopsagent_mixins # resource_metadata: Any a_wSConfiguration_property = devopsagent_mixins.CfnAssociationPropsMixin.AWSConfigurationProperty( account_id="accountId", account_type="accountType", assumable_role_arn="assumableRoleArn", resources=[devopsagent_mixins.CfnAssociationPropsMixin.AWSResourceProperty( resource_arn="resourceArn", resource_metadata=resource_metadata, resource_type="resourceType" )], tags=[devopsagent_mixins.CfnAssociationPropsMixin.KeyValuePairProperty( key="key", value="value" )] )
Attributes
- account_id
Account ID corresponding to the provided resources.
- account_type
Account Type ‘monitor’ for AWS DevOps Agent monitoring.
- assumable_role_arn
Role ARN used by AWS DevOps Agent to access resources in the primary account.
- resources
List of resources to monitor.
- tags
List of tags as key-value pairs, used to identify resources for topology crawl.
AWSResourceProperty
- class CfnAssociationPropsMixin.AWSResourceProperty(*, resource_arn=None, resource_metadata=None, resource_type=None)
Bases:
objectDefines an AWS resource to be monitored, including its type, ARN, and optional metadata.
- Parameters:
resource_arn (
Optional[str]) – The Amazon Resource Name (ARN) of the resource.resource_metadata (
Any) – Additional metadata specific to the resource. This is an optional JSON object that can include resource-specific information to provide additional context for monitoring and management.resource_type (
Optional[str]) – Resource type.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_devopsagent import mixins as devopsagent_mixins # resource_metadata: Any a_wSResource_property = devopsagent_mixins.CfnAssociationPropsMixin.AWSResourceProperty( resource_arn="resourceArn", resource_metadata=resource_metadata, resource_type="resourceType" )
Attributes
- resource_arn
The Amazon Resource Name (ARN) of the resource.
- resource_metadata
Additional metadata specific to the resource.
This is an optional JSON object that can include resource-specific information to provide additional context for monitoring and management.
DynatraceConfigurationProperty
- class CfnAssociationPropsMixin.DynatraceConfigurationProperty(*, enable_webhook_updates=None, env_id=None, resources=None)
Bases:
objectConfiguration for Dynatrace monitoring integration.
Defines the Dynatrace environment ID, list of resources to monitor, and webhook update settings required for the Agent Space to access metrics, traces, and logs from Dynatrace.
- Parameters:
enable_webhook_updates (
Union[bool,IResolvable,None]) – When set to true, enables the Agent Space to create and update webhooks for receiving notifications and events from the service.env_id (
Optional[str]) – Dynatrace environment id.resources (
Optional[Sequence[str]]) – List of Dynatrace resources to monitor.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_devopsagent import mixins as devopsagent_mixins dynatrace_configuration_property = devopsagent_mixins.CfnAssociationPropsMixin.DynatraceConfigurationProperty( enable_webhook_updates=False, env_id="envId", resources=["resources"] )
Attributes
- enable_webhook_updates
When set to true, enables the Agent Space to create and update webhooks for receiving notifications and events from the service.
- env_id
Dynatrace environment id.
- resources
List of Dynatrace resources to monitor.
EventChannelConfigurationProperty
- class CfnAssociationPropsMixin.EventChannelConfigurationProperty(*, enable_webhook_updates=None)
Bases:
objectConfiguration for Event Channel integration.
Defines webhook update settings to enable the Agent Space to receive real-time event notifications from event channel integrations.
- Parameters:
enable_webhook_updates (
Union[bool,IResolvable,None]) – When set to true, enables the Agent Space to create and update webhooks for receiving notifications and events from the service.- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_devopsagent import mixins as devopsagent_mixins event_channel_configuration_property = devopsagent_mixins.CfnAssociationPropsMixin.EventChannelConfigurationProperty( enable_webhook_updates=False )
Attributes
- enable_webhook_updates
When set to true, enables the Agent Space to create and update webhooks for receiving notifications and events from the service.
GitHubConfigurationProperty
- class CfnAssociationPropsMixin.GitHubConfigurationProperty(*, owner=None, owner_type=None, repo_id=None, repo_name=None)
Bases:
objectConfiguration for GitHub repository integration.
Defines the repository name, numeric repository ID, owner name, and owner type (user or organization) required for the Agent Space to access and interact with the GitHub repository.
- Parameters:
owner (
Optional[str]) – Repository owner.owner_type (
Optional[str]) – Type of repository owner.repo_id (
Optional[str]) – Associated Github repo ID.repo_name (
Optional[str]) – Associated Github repo name.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_devopsagent import mixins as devopsagent_mixins git_hub_configuration_property = devopsagent_mixins.CfnAssociationPropsMixin.GitHubConfigurationProperty( owner="owner", owner_type="ownerType", repo_id="repoId", repo_name="repoName" )
Attributes
- owner
Repository owner.
- owner_type
Type of repository owner.
- repo_id
Associated Github repo ID.
GitLabConfigurationProperty
- class CfnAssociationPropsMixin.GitLabConfigurationProperty(*, enable_webhook_updates=None, instance_identifier=None, project_id=None, project_path=None)
Bases:
objectConfiguration for GitLab project integration.
Defines the numeric project ID, full project path (namespace/project-name), GitLab instance identifier, and webhook update settings required for the Agent Space to access and interact with the GitLab project.
- Parameters:
enable_webhook_updates (
Union[bool,IResolvable,None]) – When set to true, enables the Agent Space to create and update webhooks for receiving notifications and events from the service.instance_identifier (
Optional[str]) – GitLab instance identifier (e.g., gitlab.com).project_id (
Optional[str]) – GitLab numeric project ID.project_path (
Optional[str]) – Full GitLab project path (e.g., namespace/project-name).
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_devopsagent import mixins as devopsagent_mixins git_lab_configuration_property = devopsagent_mixins.CfnAssociationPropsMixin.GitLabConfigurationProperty( enable_webhook_updates=False, instance_identifier="instanceIdentifier", project_id="projectId", project_path="projectPath" )
Attributes
- enable_webhook_updates
When set to true, enables the Agent Space to create and update webhooks for receiving notifications and events from the service.
- instance_identifier
GitLab instance identifier (e.g., gitlab.com).
- project_id
GitLab numeric project ID.
- project_path
Full GitLab project path (e.g., namespace/project-name).
KeyValuePairProperty
- class CfnAssociationPropsMixin.KeyValuePairProperty(*, key=None, value=None)
Bases:
objectA key-value pair for tags.
- Parameters:
key (
Optional[str]) – The key name of the tag.value (
Optional[str]) – The value for the tag.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_devopsagent import mixins as devopsagent_mixins key_value_pair_property = devopsagent_mixins.CfnAssociationPropsMixin.KeyValuePairProperty( key="key", value="value" )
Attributes
- key
The key name of the tag.
MCPServerConfigurationProperty
- class CfnAssociationPropsMixin.MCPServerConfigurationProperty(*, description=None, enable_webhook_updates=None, endpoint=None, name=None, tools=None)
Bases:
objectConfiguration for MCP (Model Context Protocol) server integration.
Defines the server name, endpoint URL, available tools, optional description, and webhook update settings for custom MCP servers.
- Parameters:
description (
Optional[str]) – The description of the MCP server.enable_webhook_updates (
Union[bool,IResolvable,None]) – When set to true, enables the Agent Space to create and update webhooks for receiving notifications and events from the service.endpoint (
Optional[str]) – MCP server endpoint URL.name (
Optional[str]) – The name of the MCP server.tools (
Optional[Sequence[str]]) – List of MCP tools that can be used with the association.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_devopsagent import mixins as devopsagent_mixins m_cPServer_configuration_property = devopsagent_mixins.CfnAssociationPropsMixin.MCPServerConfigurationProperty( description="description", enable_webhook_updates=False, endpoint="endpoint", name="name", tools=["tools"] )
Attributes
- description
The description of the MCP server.
- enable_webhook_updates
When set to true, enables the Agent Space to create and update webhooks for receiving notifications and events from the service.
- endpoint
MCP server endpoint URL.
- name
The name of the MCP server.
- tools
List of MCP tools that can be used with the association.
MCPServerDatadogConfigurationProperty
- class CfnAssociationPropsMixin.MCPServerDatadogConfigurationProperty(*, description=None, enable_webhook_updates=None, endpoint=None, name=None)
Bases:
objectConfiguration for Datadog MCP server integration.
Defines the server name, endpoint URL, optional description, and webhook update settings.
- Parameters:
description (
Optional[str]) – The description of the MCP server.enable_webhook_updates (
Union[bool,IResolvable,None]) – When set to true, enables the Agent Space to create and update webhooks for receiving notifications and events from the service.endpoint (
Optional[str]) – MCP server endpoint URL.name (
Optional[str]) – The name of the MCP server.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_devopsagent import mixins as devopsagent_mixins m_cPServer_datadog_configuration_property = devopsagent_mixins.CfnAssociationPropsMixin.MCPServerDatadogConfigurationProperty( description="description", enable_webhook_updates=False, endpoint="endpoint", name="name" )
Attributes
- description
The description of the MCP server.
- enable_webhook_updates
When set to true, enables the Agent Space to create and update webhooks for receiving notifications and events from the service.
- endpoint
MCP server endpoint URL.
MCPServerNewRelicConfigurationProperty
- class CfnAssociationPropsMixin.MCPServerNewRelicConfigurationProperty(*, account_id=None, endpoint=None)
Bases:
objectConfiguration for New Relic MCP server integration.
Defines the New Relic account ID and MCP server endpoint URL required for the Agent Space to authenticate and query observability data from New Relic.
- Parameters:
account_id (
Optional[str]) – New Relic Account ID.endpoint (
Optional[str]) – MCP server endpoint URL (e.g., https://mcp.newrelic.com/mcp/).
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_devopsagent import mixins as devopsagent_mixins m_cPServer_new_relic_configuration_property = devopsagent_mixins.CfnAssociationPropsMixin.MCPServerNewRelicConfigurationProperty( account_id="accountId", endpoint="endpoint" )
Attributes
- account_id
New Relic Account ID.
- endpoint
//mcp.newrelic.com/mcp/).
MCPServerSplunkConfigurationProperty
- class CfnAssociationPropsMixin.MCPServerSplunkConfigurationProperty(*, description=None, enable_webhook_updates=None, endpoint=None, name=None)
Bases:
objectConfiguration for Splunk MCP server integration.
Defines the server name, endpoint URL, optional description, and webhook update settings.
- Parameters:
description (
Optional[str]) – The description of the MCP server.enable_webhook_updates (
Union[bool,IResolvable,None]) – When set to true, enables the Agent Space to create and update webhooks for receiving notifications and events from the service.endpoint (
Optional[str]) – MCP server endpoint URL.name (
Optional[str]) – The name of the MCP server.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_devopsagent import mixins as devopsagent_mixins m_cPServer_splunk_configuration_property = devopsagent_mixins.CfnAssociationPropsMixin.MCPServerSplunkConfigurationProperty( description="description", enable_webhook_updates=False, endpoint="endpoint", name="name" )
Attributes
- description
The description of the MCP server.
- enable_webhook_updates
When set to true, enables the Agent Space to create and update webhooks for receiving notifications and events from the service.
- endpoint
MCP server endpoint URL.
ServiceConfigurationProperty
- class CfnAssociationPropsMixin.ServiceConfigurationProperty(*, aws=None, dynatrace=None, event_channel=None, git_hub=None, git_lab=None, mcp_server=None, mcp_server_datadog=None, mcp_server_new_relic=None, mcp_server_splunk=None, service_now=None, slack=None, source_aws=None)
Bases:
objectThe configuration that directs how Agent Space interacts with the given service.
You can specify only one configuration type per association.
- Parameters:
aws (
Union[IResolvable,AWSConfigurationProperty,Dict[str,Any],None]) – Configuration for AWS monitor account integration. Specifies the account ID, assumable role ARN, and resources to be monitored in the primary monitoring account.dynatrace (
Union[IResolvable,DynatraceConfigurationProperty,Dict[str,Any],None]) – 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.event_channel (
Union[IResolvable,EventChannelConfigurationProperty,Dict[str,Any],None]) – Configuration for Event Channel integration. Specifies webhook settings to enable the Agent Space to receive and process real-time events from external systems.git_hub (
Union[IResolvable,GitHubConfigurationProperty,Dict[str,Any],None]) – 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.git_lab (
Union[IResolvable,GitLabConfigurationProperty,Dict[str,Any],None]) – 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.mcp_server (
Union[IResolvable,MCPServerConfigurationProperty,Dict[str,Any],None]) – 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.mcp_server_datadog (
Union[IResolvable,MCPServerDatadogConfigurationProperty,Dict[str,Any],None]) – 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.mcp_server_new_relic (
Union[IResolvable,MCPServerNewRelicConfigurationProperty,Dict[str,Any],None]) – 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.mcp_server_splunk (
Union[IResolvable,MCPServerSplunkConfigurationProperty,Dict[str,Any],None]) – 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.service_now (
Union[IResolvable,ServiceNowConfigurationProperty,Dict[str,Any],None]) – 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.slack (
Union[IResolvable,SlackConfigurationProperty,Dict[str,Any],None]) – 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.source_aws (
Union[IResolvable,SourceAwsConfigurationProperty,Dict[str,Any],None]) – Configuration for AWS source account integration. Specifies the account ID, assumable role ARN, and resources to be monitored in the source account.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_devopsagent import mixins as devopsagent_mixins # resource_metadata: Any service_configuration_property = devopsagent_mixins.CfnAssociationPropsMixin.ServiceConfigurationProperty( aws=devopsagent_mixins.CfnAssociationPropsMixin.AWSConfigurationProperty( account_id="accountId", account_type="accountType", assumable_role_arn="assumableRoleArn", resources=[devopsagent_mixins.CfnAssociationPropsMixin.AWSResourceProperty( resource_arn="resourceArn", resource_metadata=resource_metadata, resource_type="resourceType" )], tags=[devopsagent_mixins.CfnAssociationPropsMixin.KeyValuePairProperty( key="key", value="value" )] ), dynatrace=devopsagent_mixins.CfnAssociationPropsMixin.DynatraceConfigurationProperty( enable_webhook_updates=False, env_id="envId", resources=["resources"] ), event_channel=devopsagent_mixins.CfnAssociationPropsMixin.EventChannelConfigurationProperty( enable_webhook_updates=False ), git_hub=devopsagent_mixins.CfnAssociationPropsMixin.GitHubConfigurationProperty( owner="owner", owner_type="ownerType", repo_id="repoId", repo_name="repoName" ), git_lab=devopsagent_mixins.CfnAssociationPropsMixin.GitLabConfigurationProperty( enable_webhook_updates=False, instance_identifier="instanceIdentifier", project_id="projectId", project_path="projectPath" ), mcp_server=devopsagent_mixins.CfnAssociationPropsMixin.MCPServerConfigurationProperty( description="description", enable_webhook_updates=False, endpoint="endpoint", name="name", tools=["tools"] ), mcp_server_datadog=devopsagent_mixins.CfnAssociationPropsMixin.MCPServerDatadogConfigurationProperty( description="description", enable_webhook_updates=False, endpoint="endpoint", name="name" ), mcp_server_new_relic=devopsagent_mixins.CfnAssociationPropsMixin.MCPServerNewRelicConfigurationProperty( account_id="accountId", endpoint="endpoint" ), mcp_server_splunk=devopsagent_mixins.CfnAssociationPropsMixin.MCPServerSplunkConfigurationProperty( description="description", enable_webhook_updates=False, endpoint="endpoint", name="name" ), service_now=devopsagent_mixins.CfnAssociationPropsMixin.ServiceNowConfigurationProperty( enable_webhook_updates=False, instance_id="instanceId" ), slack=devopsagent_mixins.CfnAssociationPropsMixin.SlackConfigurationProperty( transmission_target=devopsagent_mixins.CfnAssociationPropsMixin.SlackTransmissionTargetProperty( incident_response_target=devopsagent_mixins.CfnAssociationPropsMixin.SlackChannelProperty( channel_id="channelId", channel_name="channelName" ) ), workspace_id="workspaceId", workspace_name="workspaceName" ), source_aws=devopsagent_mixins.CfnAssociationPropsMixin.SourceAwsConfigurationProperty( account_id="accountId", account_type="accountType", assumable_role_arn="assumableRoleArn", resources=[devopsagent_mixins.CfnAssociationPropsMixin.AWSResourceProperty( resource_arn="resourceArn", resource_metadata=resource_metadata, resource_type="resourceType" )], tags=[devopsagent_mixins.CfnAssociationPropsMixin.KeyValuePairProperty( key="key", value="value" )] ) )
Attributes
- aws
Configuration for AWS monitor account integration.
Specifies the account ID, assumable role ARN, and resources to be monitored in the primary monitoring account.
- dynatrace
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.
- event_channel
Configuration for Event Channel integration.
Specifies webhook settings to enable the Agent Space to receive and process real-time events from external systems.
- git_hub
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.
- git_lab
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.
- mcp_server
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.
- mcp_server_datadog
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.
- mcp_server_new_relic
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.
- mcp_server_splunk
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.
- service_now
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.
- slack
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.
- source_aws
Configuration for AWS source account integration.
Specifies the account ID, assumable role ARN, and resources to be monitored in the source account.
ServiceNowConfigurationProperty
- class CfnAssociationPropsMixin.ServiceNowConfigurationProperty(*, enable_webhook_updates=None, instance_id=None)
Bases:
objectConfiguration for ServiceNow integration.
Defines the ServiceNow instance URL, instance ID, and webhook update settings required for the Agent Space to create, update, and manage incidents and change requests.
- Parameters:
enable_webhook_updates (
Union[bool,IResolvable,None]) – When set to true, enables the Agent Space to create and update webhooks for receiving notifications and events from the service.instance_id (
Optional[str]) – ServiceNow instance ID.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_devopsagent import mixins as devopsagent_mixins service_now_configuration_property = devopsagent_mixins.CfnAssociationPropsMixin.ServiceNowConfigurationProperty( enable_webhook_updates=False, instance_id="instanceId" )
Attributes
- enable_webhook_updates
When set to true, enables the Agent Space to create and update webhooks for receiving notifications and events from the service.
SlackChannelProperty
- class CfnAssociationPropsMixin.SlackChannelProperty(*, channel_id=None, channel_name=None)
Bases:
objectRepresents a Slack channel with its unique identifier and optional display name.
- Parameters:
channel_id (
Optional[str]) – Slack channel ID.channel_name (
Optional[str]) – Slack channel name.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_devopsagent import mixins as devopsagent_mixins slack_channel_property = devopsagent_mixins.CfnAssociationPropsMixin.SlackChannelProperty( channel_id="channelId", channel_name="channelName" )
Attributes
- channel_id
Slack channel ID.
SlackConfigurationProperty
- class CfnAssociationPropsMixin.SlackConfigurationProperty(*, transmission_target=None, workspace_id=None, workspace_name=None)
Bases:
objectConfiguration for Slack workspace integration.
Defines the workspace ID, workspace name, and transmission targets that specify which Slack channels receive notifications.
- Parameters:
transmission_target (
Union[IResolvable,SlackTransmissionTargetProperty,Dict[str,Any],None]) – Transmission targets for agent notifications.workspace_id (
Optional[str]) – Associated Slack workspace ID.workspace_name (
Optional[str]) – Associated Slack workspace name.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_devopsagent import mixins as devopsagent_mixins slack_configuration_property = devopsagent_mixins.CfnAssociationPropsMixin.SlackConfigurationProperty( transmission_target=devopsagent_mixins.CfnAssociationPropsMixin.SlackTransmissionTargetProperty( incident_response_target=devopsagent_mixins.CfnAssociationPropsMixin.SlackChannelProperty( channel_id="channelId", channel_name="channelName" ) ), workspace_id="workspaceId", workspace_name="workspaceName" )
Attributes
- transmission_target
Transmission targets for agent notifications.
- workspace_id
Associated Slack workspace ID.
- workspace_name
Associated Slack workspace name.
SlackTransmissionTargetProperty
- class CfnAssociationPropsMixin.SlackTransmissionTargetProperty(*, incident_response_target=None)
Bases:
objectDefines the Slack channels where different types of agent notifications will be sent.
- Parameters:
incident_response_target (
Union[IResolvable,SlackChannelProperty,Dict[str,Any],None]) – Destination for AWS DevOps Agent Incident Response.- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_devopsagent import mixins as devopsagent_mixins slack_transmission_target_property = devopsagent_mixins.CfnAssociationPropsMixin.SlackTransmissionTargetProperty( incident_response_target=devopsagent_mixins.CfnAssociationPropsMixin.SlackChannelProperty( channel_id="channelId", channel_name="channelName" ) )
Attributes
- incident_response_target
Destination for AWS DevOps Agent Incident Response.
SourceAwsConfigurationProperty
- class CfnAssociationPropsMixin.SourceAwsConfigurationProperty(*, account_id=None, account_type=None, assumable_role_arn=None, resources=None, tags=None)
Bases:
objectConfiguration for AWS source account integration.
Specifies the account ID, assumable role ARN, and resources to be monitored in the source account.
- Parameters:
account_id (
Optional[str]) – Account ID corresponding to the provided resources.account_type (
Optional[str]) – Account Type ‘source’ for AWS DevOps Agent monitoring.assumable_role_arn (
Optional[str]) – Role ARN to be assumed by AWS DevOps Agent to operate on behalf of customer.resources (
Union[IResolvable,Sequence[Union[IResolvable,AWSResourceProperty,Dict[str,Any]]],None]) – List of resources to monitor.tags (
Optional[Sequence[Union[KeyValuePairProperty,Dict[str,Any]]]]) – List of tags as key-value pairs, used to identify resources for topology crawl.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_devopsagent import mixins as devopsagent_mixins # resource_metadata: Any source_aws_configuration_property = devopsagent_mixins.CfnAssociationPropsMixin.SourceAwsConfigurationProperty( account_id="accountId", account_type="accountType", assumable_role_arn="assumableRoleArn", resources=[devopsagent_mixins.CfnAssociationPropsMixin.AWSResourceProperty( resource_arn="resourceArn", resource_metadata=resource_metadata, resource_type="resourceType" )], tags=[devopsagent_mixins.CfnAssociationPropsMixin.KeyValuePairProperty( key="key", value="value" )] )
Attributes
- account_id
Account ID corresponding to the provided resources.
- account_type
Account Type ‘source’ for AWS DevOps Agent monitoring.
- assumable_role_arn
Role ARN to be assumed by AWS DevOps Agent to operate on behalf of customer.
- resources
List of resources to monitor.
- tags
List of tags as key-value pairs, used to identify resources for topology crawl.