# SlackBidirectionalConfigurationProperty

Optional bidirectional communication configuration.

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

- 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 slackBidirectionalConfigurationProperty: devopsagent.CfnAssociation.SlackBidirectionalConfigurationProperty = {
  roleArn: 'roleArn',

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

## Properties

- `enabled`: boolean | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) — Whether bidirectional communication is enabled for this association.

  When set to true, you can mention the agent in a configured Slack channel and it responds in that channel. When omitted or set to false, the agent ignores mentions and only sends notifications

- `roleArn`: string (required) — IAM role ARN that AWS DevOps Agent assumes to exchange messages with your Slack workspace on behalf of this association.
