# SlackConfigurationProperty

Configuration for Slack workspace integration.

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

- Source: Generated code
- Type last changed: v2.274.0 · 20 Oct 2026

## 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

- `bidirectional`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnAssociation.SlackBidirectionalConfigurationProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_devopsagent.CfnAssociation.SlackBidirectionalConfigurationProperty.html) — Optional bidirectional communication configuration.

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

- `transmissionTarget`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnAssociation.SlackTransmissionTargetProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_devopsagent.CfnAssociation.SlackTransmissionTargetProperty.html) (required) — Transmission targets for agent notifications.

- `workspaceId`: string (required) — Associated Slack workspace ID.

- `workspaceName`: string (required) — Associated Slack workspace name.
