CfnSlackChannelConfigurationPropsMixin

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

Bases: Mixin

You can use the AWS::SupportApp::SlackChannelConfiguration resource 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:

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

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.mixins_preview import mixins
from aws_cdk.mixins_preview.aws_supportapp import mixins as supportapp_mixins

cfn_slack_channel_configuration_props_mixin = supportapp_mixins.CfnSlackChannelConfigurationPropsMixin(supportapp_mixins.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=mixins.PropertyMergeStrategy.OVERRIDE
)

Create a mixin to apply properties to AWS::SupportApp::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 = ['channelId', 'channelName', 'channelRoleArn', 'notifyOnAddCorrespondenceToCase', 'notifyOnCaseSeverity', 'notifyOnCreateOrReopenCase', 'notifyOnResolveCase', 'teamId']

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