Skip to content
v2.275.0

SlackConfigurationProperty Struct ​

Configuration for Slack workspace integration.

Defines the workspace ID, workspace name, and transmission targets that specify which Slack channels receive notifications.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_devopsagent as devopsagent } from 'aws-cdk-lib';
const slackConfigurationProperty: devopsagent.CfnAssociation.SlackConfigurationProperty = {
  transmissionTarget: {
    incidentResponseTarget: {
      channelId: 'channelId',

      // the properties below are optional
      channelName: 'channelName',
    },
  },
  workspaceId: 'workspaceId',
  workspaceName: 'workspaceName',

  // the properties below are optional
  bidirectional: {
    roleArn: 'roleArn',

    // the properties below are optional
    enabled: false,
  },
};

Properties ​

bidirectionaloptionalIResolvable | CfnAssociation.SlackBidirectionalConfigurationPropertybidirectionaloptionaltyping.Union[IResolvable, SlackBidirectionalConfigurationProperty]bidirectionaloptionalIResolvableBidirectionaloptionalIResolvableBidirectionaloptionalinterface{}#
Optional bidirectional communication configuration.

Supply this configuration and set Enabled to true so you can interact with the agent directly from Slack

transmissionTargetIResolvable | CfnAssociation.SlackTransmissionTargetPropertytransmission_targettyping.Union[IResolvable, SlackTransmissionTargetProperty]transmissionTargetIResolvableTransmissionTargetIResolvableTransmissionTargetinterface{}required#
Transmission targets for agent notifications.
workspaceIdstringworkspace_idstrworkspaceIdStringWorkspaceIdstringWorkspaceId*stringrequired#
Associated Slack workspace ID.
workspaceNamestringworkspace_namestrworkspaceNameStringWorkspaceNamestringWorkspaceName*stringrequired#
Associated Slack workspace name.