CfnSlackChannelConfigurationPropsMixin

class aws_cdk.mixins_preview.aws_chatbot.mixins.CfnSlackChannelConfigurationPropsMixin(props, *, strategy=None)

Bases: Mixin

AWS Chatbot is now . Learn more > > 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 in the in chat applications User Guide .

see:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-chatbot-slackchannelconfiguration.html

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:

Methods

apply_to(construct)

Apply the mixin properties to the construct.

Parameters:

construct (IConstruct)

Return type:

IConstruct

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 x is a Mixin.

Parameters:

x (Any) – Any object.

Return type:

bool

Returns:

true if x is an object created from a class which extends Mixin.

Stability:

experimental