Create Slack Channel Configuration
chatbot_create_slack_channel_configuration | R Documentation |
Creates an AWS Chatbot confugration for Slack¶
Description¶
Creates an AWS Chatbot confugration for Slack.
Usage¶
chatbot_create_slack_channel_configuration(SlackTeamId, SlackChannelId,
SlackChannelName, SnsTopicArns, IamRoleArn, ConfigurationName,
LoggingLevel, GuardrailPolicyArns, UserAuthorizationRequired, Tags)
Arguments¶
SlackTeamId
[required] The ID of the Slack workspace authorized with AWS Chatbot.
SlackChannelId
[required] The ID of the Slack channel.
To get this ID, open Slack, right click on the channel name in the left pane, then choose Copy Link. The channel ID is the 9-character string at the end of the URL. For example, ABCBBLZZZ.
SlackChannelName
The name of the Slack channel.
SnsTopicArns
The Amazon Resource Names (ARNs) of the SNS topics that deliver notifications to AWS Chatbot.
IamRoleArn
[required] A user-defined role that AWS Chatbot assumes. This is not the service-linked role.
For more information, see IAM policies for AWS Chatbot in the AWS Chatbot Administrator Guide.
ConfigurationName
[required] The name of the configuration.
LoggingLevel
Logging levels include
ERROR
,INFO
, orNONE
.GuardrailPolicyArns
The list of IAM policy ARNs that are applied as channel guardrails. The AWS managed
AdministratorAccess
policy is applied by default if this is not set.UserAuthorizationRequired
Enables use of a user role requirement in your chat configuration.
Tags
A map of tags assigned to a resource. A tag is a string-to-string map of key-value pairs.
Value¶
A list with the following syntax:
list(
ChannelConfiguration = list(
SlackTeamName = "string",
SlackTeamId = "string",
SlackChannelId = "string",
SlackChannelName = "string",
ChatConfigurationArn = "string",
IamRoleArn = "string",
SnsTopicArns = list(
"string"
),
ConfigurationName = "string",
LoggingLevel = "string",
GuardrailPolicyArns = list(
"string"
),
UserAuthorizationRequired = TRUE|FALSE,
Tags = list(
list(
TagKey = "string",
TagValue = "string"
)
),
State = "string",
StateReason = "string"
)
)
Request syntax¶
svc$create_slack_channel_configuration(
SlackTeamId = "string",
SlackChannelId = "string",
SlackChannelName = "string",
SnsTopicArns = list(
"string"
),
IamRoleArn = "string",
ConfigurationName = "string",
LoggingLevel = "string",
GuardrailPolicyArns = list(
"string"
),
UserAuthorizationRequired = TRUE|FALSE,
Tags = list(
list(
TagKey = "string",
TagValue = "string"
)
)
)