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:
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 tofalse, 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.comservice principal to callsts:AssumeRoleandsts:TagSession. Scope that trust policy with theaws:SourceAccountandaws:SourceArncondition keys. These keys restrict the trust to your account and your Agent Space ARN. Attach the Amazon managed policyAIDevOpsChannelAccessPolicyto the role.Required: Yes
Type: String
Pattern:
^arn:(aws|aws-cn|aws-us-gov):iam::\d{12}:role/[a-zA-Z0-9+=,.@_/-]+$Minimum:
1Maximum:
255Update requires: No interruption