CfnSlackChannelConfigurationProps Struct
Properties for defining a CfnSlackChannelConfiguration.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_supportapp as supportapp } from 'aws-cdk-lib';
const cfnSlackChannelConfigurationProps: supportapp.CfnSlackChannelConfigurationProps = {
channelId: 'channelId',
channelRoleArn: 'channelRoleArn',
notifyOnCaseSeverity: 'notifyOnCaseSeverity',
teamId: 'teamId',
// the properties below are optional
channelName: 'channelName',
notifyOnAddCorrespondenceToCase: false,
notifyOnCreateOrReopenCase: false,
notifyOnResolveCase: false,
};
Properties
The channel ID in Slack.
This ID identifies a channel within a Slack workspace.
channelNameoptionalstringchannel_nameoptionalstrchannelNameoptionalStringChannelNameoptionalstringChannelNameoptional*string#The channel name in Slack.
This is the channel where you invite the AWS Support App .
channelRoleArnstring | IRoleRefchannel_role_arntyping.Union[str, IRoleRef]channelRoleArnStringChannelRoleArnstringChannelRoleArninterface{}required#The Amazon Resource Name (ARN) of the IAM role for this Slack channel configuration.
The App uses this role to perform and Service Quotas actions on your behalf.
notifyOnAddCorrespondenceToCaseoptionalboolean | IResolvablenotify_on_add_correspondence_to_caseoptionaltyping.Union[bool, IResolvable]notifyOnAddCorrespondenceToCaseoptionalBooleanNotifyOnAddCorrespondenceToCaseoptionalboolNotifyOnAddCorrespondenceToCaseoptionalinterface{}#Whether to get notified when a correspondence is added to your support cases.
notifyOnCaseSeveritystringnotify_on_case_severitystrnotifyOnCaseSeverityStringNotifyOnCaseSeveritystringNotifyOnCaseSeverity*stringrequired#The case severity for your support cases that you want to receive notifications.
You can specify none , all , or high .
notifyOnCreateOrReopenCaseoptionalboolean | IResolvablenotify_on_create_or_reopen_caseoptionaltyping.Union[bool, IResolvable]notifyOnCreateOrReopenCaseoptionalBooleanNotifyOnCreateOrReopenCaseoptionalboolNotifyOnCreateOrReopenCaseoptionalinterface{}#Whether to get notified when your support cases are created or reopened.
notifyOnResolveCaseoptionalboolean | IResolvablenotify_on_resolve_caseoptionaltyping.Union[bool, IResolvable]notifyOnResolveCaseoptionalBooleanNotifyOnResolveCaseoptionalboolNotifyOnResolveCaseoptionalinterface{}#Whether to get notified when your support cases are resolved.
The team ID in Slack.
This ID uniquely identifies a Slack workspace.