CfnMicrosoftTeamsChannelConfigurationPropsMixin
- class aws_cdk.mixins_preview.aws_chatbot.mixins.CfnMicrosoftTeamsChannelConfigurationPropsMixin(props, *, strategy=None)
Bases:
MixinAWS Chatbot is now . Learn more > >
Typeattribute values remain unchanged.The
AWS::Chatbot::MicrosoftTeamsChannelConfigurationresource configures a Microsoft Teams 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 Microsoft Teams team and tenant IDs, you must perform the initial authorization flow with Microsoft Teams in the in chat applications console, then copy and paste the IDs from the console. For more details, see steps 1-3 in Get started with Microsoft Teams in the in chat applications Administrator Guide .
- see:
- cloudformationResource:
AWS::Chatbot::MicrosoftTeamsChannelConfiguration
- 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_microsoft_teams_channel_configuration_props_mixin = chatbot_mixins.CfnMicrosoftTeamsChannelConfigurationPropsMixin(chatbot_mixins.CfnMicrosoftTeamsChannelConfigurationMixinProps( configuration_name="configurationName", customization_resource_arns=["customizationResourceArns"], guardrail_policies=["guardrailPolicies"], iam_role_arn="iamRoleArn", logging_level="loggingLevel", sns_topic_arns=["snsTopicArns"], tags=[CfnTag( key="key", value="value" )], team_id="teamId", teams_channel_id="teamsChannelId", teams_channel_name="teamsChannelName", teams_tenant_id="teamsTenantId", user_role_required=False ), strategy=mixins.PropertyMergeStrategy.OVERRIDE )
Create a mixin to apply properties to
AWS::Chatbot::MicrosoftTeamsChannelConfiguration.- Parameters:
props (
Union[CfnMicrosoftTeamsChannelConfigurationMixinProps,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', 'snsTopicArns', 'tags', 'teamId', 'teamsChannelId', 'teamsChannelName', 'teamsTenantId', '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