Skip to content
v2.274.0

SlackBidirectionalConfigurationProperty Struct Added in v2.274.0 ​

Optional bidirectional communication configuration.

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

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 ​

enabledboolean | IResolvableenabledtyping.Union[bool, IResolvable]enabledBooleanEnabledboolEnabledinterface{}#
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

roleArnstringrole_arnstrroleArnStringRoleArnstringRoleArn*stringrequired#
IAM role ARN that AWS DevOps Agent assumes to exchange messages with your Slack workspace on behalf of this association.