class CfnSlackChannelConfigurationPropsMixin
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Chatbot.Mixins.CfnSlackChannelConfigurationPropsMixin |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awschatbot/mixins#CfnSlackChannelConfigurationPropsMixin |
Java | software.amazon.awscdk.mixins.preview.services.chatbot.mixins.CfnSlackChannelConfigurationPropsMixin |
Python | aws_cdk.mixins_preview.aws_chatbot.mixins.CfnSlackChannelConfigurationPropsMixin |
TypeScript | @aws-cdk/mixins-preview » aws_chatbot » mixins » CfnSlackChannelConfigurationPropsMixin |
Implements
IMixin
Extends
Mixin
AWS Chatbot is now . Learn more > >
Typeattribute 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 in the in chat applications User Guide .
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins } from '@aws-cdk/mixins-preview';
import { mixins as chatbot_mixins } from '@aws-cdk/mixins-preview/aws-chatbot';
const cfnSlackChannelConfigurationPropsMixin = new chatbot_mixins.CfnSlackChannelConfigurationPropsMixin({
configurationName: 'configurationName',
customizationResourceArns: ['customizationResourceArns'],
guardrailPolicies: ['guardrailPolicies'],
iamRoleArn: 'iamRoleArn',
loggingLevel: 'loggingLevel',
slackChannelId: 'slackChannelId',
slackWorkspaceId: 'slackWorkspaceId',
snsTopicArns: ['snsTopicArns'],
tags: [{
key: 'key',
value: 'value',
}],
userRoleRequired: false,
}, /* all optional props */ {
strategy: mixins.PropertyMergeStrategy.OVERRIDE,
});
Initializer
new CfnSlackChannelConfigurationPropsMixin(props: CfnSlackChannelConfigurationMixinProps, options?: CfnPropertyMixinOptions)
Parameters
- props
Cfn— L1 properties to apply.Slack Channel Configuration Mixin Props - options
Cfn— Mixin options.Property Mixin Options
Create a mixin to apply properties to AWS::Chatbot::SlackChannelConfiguration.
Properties
| Name | Type | Description |
|---|---|---|
| props | Cfn | |
| strategy | Property | |
| static CFN_PROPERTY_KEYS | string[] |
props
Type:
Cfn
strategy
Type:
Property
static CFN_PROPERTY_KEYS
Type:
string[]
Methods
| Name | Description |
|---|---|
| apply | Apply the mixin properties to the construct. |
| supports(construct) | Check if this mixin supports the given construct. |
applyTo(construct)
public applyTo(construct: IConstruct): IConstruct
Parameters
- construct
IConstruct
Returns
Apply the mixin properties to the construct.
supports(construct)
public supports(construct: IConstruct): boolean
Parameters
- construct
IConstruct
Returns
boolean
Check if this mixin supports the given construct.

.NET
Go
Java
Python
TypeScript