Skip to content

/AWS1/CL_CBO=>CREATESLACKCHANNELCONF()

About CreateSlackChannelConfiguration

Creates an AWS Chatbot confugration for Slack.

Method Signature

IMPORTING

Required arguments:

IV_SLACKTEAMID TYPE /AWS1/CBOSLACKTEAMID /AWS1/CBOSLACKTEAMID

The ID of the Slack workspace authorized with AWS Chatbot.

IV_SLACKCHANNELID TYPE /AWS1/CBOSLACKCHANNELID /AWS1/CBOSLACKCHANNELID

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.

IV_IAMROLEARN TYPE /AWS1/CBOARN /AWS1/CBOARN

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.

IV_CONFIGURATIONNAME TYPE /AWS1/CBOCONFIGURATIONNAME /AWS1/CBOCONFIGURATIONNAME

The name of the configuration.

Optional arguments:

IV_SLACKCHANNELNAME TYPE /AWS1/CBOSLACKCHANNELDSPNAME /AWS1/CBOSLACKCHANNELDSPNAME

The name of the Slack channel.

IT_SNSTOPICARNS TYPE /AWS1/CL_CBOSNSTOPICARNLIST_W=>TT_SNSTOPICARNLIST TT_SNSTOPICARNLIST

The Amazon Resource Names (ARNs) of the SNS topics that deliver notifications to AWS Chatbot.

IV_LOGGINGLEVEL TYPE /AWS1/CBOCUSTOMERCWLOGLEVEL /AWS1/CBOCUSTOMERCWLOGLEVEL

Logging levels include ERROR, INFO, or NONE.

IT_GUARDRAILPOLICYARNS TYPE /AWS1/CL_CBOGUARDRAILPLYARNL00=>TT_GUARDRAILPOLICYARNLIST TT_GUARDRAILPOLICYARNLIST

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.

IV_USERAUTHORIZATIONREQUIRED TYPE /AWS1/CBOBLNACCOUNTPREFERENCE /AWS1/CBOBLNACCOUNTPREFERENCE

Enables use of a user role requirement in your chat configuration.

IT_TAGS TYPE /AWS1/CL_CBOTAG=>TT_TAGS TT_TAGS

A map of tags assigned to a resource. A tag is a string-to-string map of key-value pairs.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_CBOCRESLACKCHANNELC01 /AWS1/CL_CBOCRESLACKCHANNELC01