AWS::Chatbot::SlackChannelConfiguration> AWS Chatbot is now . [Learn more](https://docs.aws.amazon.com//chatbot/latest/adminguide/service-rename.html) > > `Type` attribute values remain unchanged. The `AWS::Chatbot::SlackChannelConfiguration` resource configures a Slack channel to allow users to use with CloudFormation templates. This resource requires some setup to be done in the in chat applications console. To provide the required Slack workspace ID, you must perform the initial authorization flow with Slack in the in chat applications console, then copy and paste the workspace ID from the console. For more details, see steps 1-3 in [Tutorial: Get started with Slack](https://docs.aws.amazon.com/chatbot/latest/adminguide/slack-setup.html#slack-client-setup) in the *in chat applications User Guide* .
import { CfnSlackChannelConfiguration } from 'aws-cdk-lib/aws-chatbot';Or use the module namespace:
import * as chatbot from 'aws-cdk-lib/aws-chatbot';
// chatbot.CfnSlackChannelConfigurationConfiguration passed to the constructor as CfnSlackChannelConfigurationProps.
configurationNameRequiredstringThe name of the configuration.
iamRoleArnRequiredstring | IRoleRefThe ARN of the IAM role that defines the permissions for . This is a user-defined role that will assume. This is not the service-linked role. For more information, see [IAM Policies for in chat applications](https://docs.aws.amazon.com/chatbot/latest/adminguide/chatbot-iam-policies.html) .
slackChannelIdRequiredstringThe ID of the Slack channel. To get the ID, open Slack, right click on the channel name in the left pane, then choose Copy Link. The channel ID is the character string at the end of the URL. For example, `ABCBBLZZZ` .
slackWorkspaceIdRequiredstringThe ID of the Slack workspace authorized with . To get the workspace ID, you must perform the initial authorization flow with Slack in the in chat applications console. Then you can copy and paste the workspace ID from the console. For more details, see steps 1-3 in [Tutorial: Get started with Slack](https://docs.aws.amazon.com/chatbot/latest/adminguide/slack-setup.html#slack-client-setup) in the *in chat applications User Guide* .
customizationResourceArnsOptionalstring[]Links a list of resource ARNs (for example, custom action ARNs) to a Slack channel configuration for .
guardrailPoliciesOptionalstring[]The list of IAM policy ARNs that are applied as channel guardrails. The AWS managed 'AdministratorAccess' policy is applied as a default if this is not set.
loggingLevelOptionalstringSpecifies the logging level for this configuration. This property affects the log entries pushed to Amazon CloudWatch Logs. Logging levels include `ERROR` , `INFO` , or `NONE` .
Default: - "NONE"
snsTopicArnsOptionalstring | ITopicRef[]The ARNs of the SNS topics that deliver notifications to .
tagsOptionalCfnTag[]The tags to add to the configuration.
userRoleRequiredOptionalboolean | IResolvableEnables use of a user role requirement in your chat configuration.
Default: - false
This L1 construct maps directly to the following CloudFormation resource type.
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-chatbotAWS::Chatbot::SlackChannelConfiguration