CfnAssociationPropsMixin
- class aws_cdk.mixins_preview.aws_devopsagent.mixins.CfnAssociationPropsMixin(props, *, strategy=None)
Bases:
MixinResource Type definition for AWS::DevOpsAgent::Association defining how the AgentSpace 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" )] ) ), 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:
- supports(construct)
Check if this mixin supports the given construct.
- Parameters:
construct (
IConstruct)- Return type:
bool
Attributes
- CFN_PROPERTY_KEYS = ['agentSpaceId', 'configuration', '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:
objectAWS association for ‘monitor’ account.
- Parameters:
account_id (
Optional[str]) – AWS Account Id corresponding to provided resources.account_type (
Optional[str]) – Account Type ‘monitor’ for DevOpsAgent monitoring.assumable_role_arn (
Optional[str]) – Role ARN to be assumed by DevOpsAgent to operate on behalf of customer.resources (
Union[IResolvable,Sequence[Union[IResolvable,AWSResourceProperty,Dict[str,Any]]],None]) – List of AWS resources.tags (
Optional[Sequence[Union[KeyValuePairProperty,Dict[str,Any]]]]) – List of AWS tags as key-value pairs.
- 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
AWS Account Id corresponding to provided resources.
- account_type
Account Type ‘monitor’ for DevOpsAgent monitoring.
- assumable_role_arn
Role ARN to be assumed by DevOpsAgent to operate on behalf of customer.
- resources
List of AWS resources.
- tags
List of AWS tags as key-value pairs.
AWSResourceProperty
- class CfnAssociationPropsMixin.AWSResourceProperty(*, resource_arn=None, resource_metadata=None, resource_type=None)
Bases:
objectAWS resource definition.
- Parameters:
resource_arn (
Optional[str]) – The Amazon Resource Name (ARN) of the resource.resource_metadata (
Any) – Additional metadata for the resource.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 for the resource.
DynatraceConfigurationProperty
- class CfnAssociationPropsMixin.DynatraceConfigurationProperty(*, enable_webhook_updates=None, env_id=None, resources=None)
Bases:
objectDynatrace monitoring configuration.
- 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:
objectEventChannelconfiguration.
- 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:
objectGitHub repository integration configuration.
- 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:
objectGitLab project integration configuration.
- 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.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.
- 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])value (
Optional[str])
- 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
-
- Type:
see
MCPServerConfigurationProperty
- class CfnAssociationPropsMixin.MCPServerConfigurationProperty(*, description=None, enable_webhook_updates=None, endpoint=None, name=None, tools=None)
Bases:
objectMCP server configuration.
- 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:
objectDatadog MCP server configuration.
- 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:
objectNewRelic MCP server configuration.
- 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:
objectSplunk MCP server configuration.
- 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:
object- Parameters:
aws (
Union[IResolvable,AWSConfigurationProperty,Dict[str,Any],None]) – AWS association for ‘monitor’ account.dynatrace (
Union[IResolvable,DynatraceConfigurationProperty,Dict[str,Any],None]) – Dynatrace monitoring configuration.event_channel (
Union[IResolvable,EventChannelConfigurationProperty,Dict[str,Any],None]) – EventChannelconfiguration.git_hub (
Union[IResolvable,GitHubConfigurationProperty,Dict[str,Any],None]) – GitHub repository integration configuration.git_lab (
Union[IResolvable,GitLabConfigurationProperty,Dict[str,Any],None]) – GitLab project integration configuration.mcp_server (
Union[IResolvable,MCPServerConfigurationProperty,Dict[str,Any],None]) – MCP server configuration.mcp_server_datadog (
Union[IResolvable,MCPServerDatadogConfigurationProperty,Dict[str,Any],None]) – Datadog MCP server configuration.mcp_server_new_relic (
Union[IResolvable,MCPServerNewRelicConfigurationProperty,Dict[str,Any],None]) – NewRelic MCP server configuration.mcp_server_splunk (
Union[IResolvable,MCPServerSplunkConfigurationProperty,Dict[str,Any],None]) – Splunk MCP server configuration.service_now (
Union[IResolvable,ServiceNowConfigurationProperty,Dict[str,Any],None]) – ServiceNow integration configuration.slack (
Union[IResolvable,SlackConfigurationProperty,Dict[str,Any],None]) – Slack workspace integration configuration.source_aws (
Union[IResolvable,SourceAwsConfigurationProperty,Dict[str,Any],None]) – AWS association for ‘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
AWS association for ‘monitor’ account.
- dynatrace
Dynatrace monitoring configuration.
- event_channel
EventChannelconfiguration.
- git_hub
GitHub repository integration configuration.
- git_lab
GitLab project integration configuration.
- mcp_server
MCP server configuration.
- mcp_server_datadog
Datadog MCP server configuration.
- mcp_server_new_relic
NewRelic MCP server configuration.
- mcp_server_splunk
Splunk MCP server configuration.
- service_now
ServiceNow integration configuration.
- slack
Slack workspace integration configuration.
- source_aws
AWS association for ‘source’ account.
ServiceNowConfigurationProperty
- class CfnAssociationPropsMixin.ServiceNowConfigurationProperty(*, enable_webhook_updates=None, instance_id=None)
Bases:
objectServiceNow integration configuration.
- 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:
objectSlack channel configuration.
- 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:
objectSlack workspace integration configuration.
- 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:
objectTransmission targets for agent notifications.
- Parameters:
incident_response_target (
Union[IResolvable,SlackChannelProperty,Dict[str,Any],None]) – Slack channel configuration.- 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
Slack channel configuration.
SourceAwsConfigurationProperty
- class CfnAssociationPropsMixin.SourceAwsConfigurationProperty(*, account_id=None, account_type=None, assumable_role_arn=None, resources=None, tags=None)
Bases:
objectAWS association for ‘source’ account.
- Parameters:
account_id (
Optional[str]) – AWS Account Id corresponding to provided resources.account_type (
Optional[str]) – Account Type ‘source’ for DevOpsAgent monitoring.assumable_role_arn (
Optional[str]) – Role ARN to be assumed by DevOpsAgent to operate on behalf of customer.resources (
Union[IResolvable,Sequence[Union[IResolvable,AWSResourceProperty,Dict[str,Any]]],None]) – List of AWS resources.tags (
Optional[Sequence[Union[KeyValuePairProperty,Dict[str,Any]]]]) – List of AWS tags as key-value pairs.
- 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
AWS Account Id corresponding to provided resources.
- account_type
Account Type ‘source’ for DevOpsAgent monitoring.
- assumable_role_arn
Role ARN to be assumed by DevOpsAgent to operate on behalf of customer.
- resources
List of AWS resources.
- tags
List of AWS tags as key-value pairs.