Create Slack Channel Configuration
supportapp_create_slack_channel_configuration | R Documentation |
Creates a Slack channel configuration for your Amazon Web Services account¶
Description¶
Creates a Slack channel configuration for your Amazon Web Services account.
-
You can add up to 5 Slack workspaces for your account.
-
You can add up to 20 Slack channels for your account.
A Slack channel can have up to 100 Amazon Web Services accounts. This means that only 100 accounts can add the same Slack channel to the Amazon Web Services Support App. We recommend that you only add the accounts that you need to manage support cases for your organization. This can reduce the notifications about case updates that you receive in the Slack channel.
We recommend that you choose a private Slack channel so that only members in that channel have read and write access to your support cases. Anyone in your Slack channel can create, update, or resolve support cases for your account. Users require an invitation to join private channels.
Usage¶
supportapp_create_slack_channel_configuration(channelId, channelName,
channelRoleArn, notifyOnAddCorrespondenceToCase, notifyOnCaseSeverity,
notifyOnCreateOrReopenCase, notifyOnResolveCase, teamId)
Arguments¶
channelId
[required] The channel ID in Slack. This ID identifies a channel within a Slack workspace.
channelName
The name of the Slack channel that you configure for the Amazon Web Services Support App.
channelRoleArn
[required] The Amazon Resource Name (ARN) of an IAM role that you want to use to perform operations on Amazon Web Services. For more information, see Managing access to the Amazon Web Services Support App in the Amazon Web Services Support User Guide.
notifyOnAddCorrespondenceToCase
Whether you want to get notified when a support case has a new correspondence.
notifyOnCaseSeverity
[required] The case severity for a support case that you want to receive notifications.
If you specify
high
orall
, you must specifytrue
for at least one of the following parameters:notifyOnAddCorrespondenceToCase
notifyOnCreateOrReopenCase
notifyOnResolveCase
If you specify
none
, the following parameters must be null orfalse
:notifyOnAddCorrespondenceToCase
notifyOnCreateOrReopenCase
notifyOnResolveCase
If you don't specify these parameters in your request, they default to
false
.notifyOnCreateOrReopenCase
Whether you want to get notified when a support case is created or reopened.
notifyOnResolveCase
Whether you want to get notified when a support case is resolved.
teamId
[required] The team ID in Slack. This ID uniquely identifies a Slack workspace, such as
T012ABCDEFG
.
Value¶
An empty list.