CfnSlackChannelConfigurationPropsMixin
- class aws_cdk.mixins_preview.aws_chatbot.mixins.CfnSlackChannelConfigurationPropsMixin(props, *, strategy=None)
Bases:
MixinAWS Chatbot is now . Learn more > >
Typeattribute values remain unchanged.The
AWS::Chatbot::SlackChannelConfigurationresource 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 .
- see:
- cloudformationResource:
AWS::Chatbot::SlackChannelConfiguration
- mixin:
true
- exampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview import mixins from aws_cdk.mixins_preview.aws_chatbot import mixins as chatbot_mixins cfn_slack_channel_configuration_props_mixin = chatbot_mixins.CfnSlackChannelConfigurationPropsMixin(chatbot_mixins.CfnSlackChannelConfigurationMixinProps( configuration_name="configurationName", customization_resource_arns=["customizationResourceArns"], guardrail_policies=["guardrailPolicies"], iam_role_arn="iamRoleArn", logging_level="loggingLevel", slack_channel_id="slackChannelId", slack_workspace_id="slackWorkspaceId", sns_topic_arns=["snsTopicArns"], tags=[CfnTag( key="key", value="value" )], user_role_required=False ), strategy=mixins.PropertyMergeStrategy.OVERRIDE )
Create a mixin to apply properties to
AWS::Chatbot::SlackChannelConfiguration.- Parameters:
props (
Union[CfnSlackChannelConfigurationMixinProps,Dict[str,Any]]) – L1 properties to apply.strategy (
Optional[PropertyMergeStrategy]) – (experimental) Strategy for merging nested properties. Default: - PropertyMergeStrategy.MERGE
Methods
- apply_to(construct)
Apply the mixin properties to the construct.
- Parameters:
construct (
IConstruct)- Return type:
- supports(construct)
Check if this mixin supports the given construct.
- Parameters:
construct (
IConstruct)- Return type:
bool
Attributes
- CFN_PROPERTY_KEYS = ['configurationName', 'customizationResourceArns', 'guardrailPolicies', 'iamRoleArn', 'loggingLevel', 'slackChannelId', 'slackWorkspaceId', 'snsTopicArns', 'tags', 'userRoleRequired']
Static Methods
- classmethod is_mixin(x)
(experimental) Checks if
xis a Mixin.- Parameters:
x (
Any) – Any object.- Return type:
bool- Returns:
true if
xis an object created from a class which extendsMixin.- Stability:
experimental