CfnSlackChannelConfigurationPropsMixin
- class aws_cdk.cfn_property_mixins.aws_supportapp.CfnSlackChannelConfigurationPropsMixin(props, *, strategy=None)
Bases:
MixinYou can use the
AWS::SupportApp::SlackChannelConfigurationresource to specify your AWS account when you configure the AWS Support App .This resource includes the following information:
The Slack channel name and ID
The team ID in Slack
The Amazon Resource Name (ARN) of the AWS Identity and Access Management ( IAM ) role
Whether you want the AWS Support App to notify you when your support cases are created, updated, resolved, or reopened
The case severity that you want to get notified for
For more information, see the following topics in the User Guide :
- See:
- CloudformationResource:
AWS::SupportApp::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.cfn_property_mixins import aws_supportapp as supportapp import aws_cdk as cdk # merge_strategy: cdk.IMergeStrategy cfn_slack_channel_configuration_props_mixin = supportapp.CfnSlackChannelConfigurationPropsMixin(supportapp.CfnSlackChannelConfigurationMixinProps( channel_id="channelId", channel_name="channelName", channel_role_arn="channelRoleArn", notify_on_add_correspondence_to_case=False, notify_on_case_severity="notifyOnCaseSeverity", notify_on_create_or_reopen_case=False, notify_on_resolve_case=False, team_id="teamId" ), strategy=merge_strategy )
Create a mixin to apply properties to
AWS::SupportApp::SlackChannelConfiguration.- Parameters:
props (
Union[CfnSlackChannelConfigurationMixinProps,Dict[str,Any]]) – L1 properties to apply.strategy (
Optional[IMergeStrategy]) – Strategy for merging nested properties. Default: - PropertyMergeStrategy.combine()
Methods
- apply_to(construct)
Apply the mixin properties to the construct.
- Parameters:
construct (
IConstruct)- Return type:
None
- supports(construct)
Check if this mixin supports the given construct.
- Parameters:
construct (
IConstruct)- Return type:
bool
Attributes
- CFN_PROPERTY_KEYS = ['channelId', 'channelName', 'channelRoleArn', 'notifyOnAddCorrespondenceToCase', 'notifyOnCaseSeverity', 'notifyOnCreateOrReopenCase', 'notifyOnResolveCase', 'teamId']
Static Methods
- classmethod is_mixin(x)
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.