View a markdown version of this page

AWS::DevOpsAgent::Association SlackBidirectionalConfiguration - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

This is the new Amazon CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the Amazon CloudFormation User Guide.

AWS::DevOpsAgent::Association SlackBidirectionalConfiguration

Configuration for bidirectional communication between Amazon DevOps Agent and the Slack channel of this association. Use RoleArn to specify the IAM role that the agent assumes to handle conversations in that channel. Use Enabled to control whether the agent responds to mentions in that channel.

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

{ "Enabled" : Boolean, "RoleArn" : String }

YAML

Enabled: Boolean RoleArn: String

Properties

Enabled

Specifies whether bidirectional communication is enabled for this association. When set to true, you can mention the agent in the associated Slack channel and receive responses in that channel. When omitted or set to false, the agent ignores mentions and only sends notifications. Bidirectional communication is supported only in private channels.

Required: No

Type: Boolean

Update requires: No interruption

RoleArn

The ARN of the IAM role that Amazon DevOps Agent assumes to handle conversations in the Slack channel of this association. The role authorizes the agent to create chats and send messages in your Agent Space on behalf of the users in that channel.

The role must allow the aidevops.amazonaws.com service principal to call sts:AssumeRole and sts:TagSession. Scope that trust policy with the aws:SourceAccount and aws:SourceArn condition keys. These keys restrict the trust to your account and your Agent Space ARN. Attach the Amazon managed policy AIDevOpsChannelAccessPolicy to the role.

Required: Yes

Type: String

Pattern: ^arn:(aws|aws-cn|aws-us-gov):iam::\d{12}:role/[a-zA-Z0-9+=,.@_/-]+$

Minimum: 1

Maximum: 255

Update requires: No interruption