Class CfnSlackChannelConfiguration
- All Implemented Interfaces:
IConstruct
,IDependable
,IInspectable
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
AWS::SupportApp::SlackChannelConfiguration
.
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 AWS Support User Guide :
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.supportapp.*; CfnSlackChannelConfiguration cfnSlackChannelConfiguration = CfnSlackChannelConfiguration.Builder.create(this, "MyCfnSlackChannelConfiguration") .channelId("channelId") .channelRoleArn("channelRoleArn") .notifyOnCaseSeverity("notifyOnCaseSeverity") .teamId("teamId") // the properties below are optional .channelName("channelName") .notifyOnAddCorrespondenceToCase(false) .notifyOnCreateOrReopenCase(false) .notifyOnResolveCase(false) .build();
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
A fluent builder forCfnSlackChannelConfiguration
.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstruct
IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ModifierConstructorDescriptionCfnSlackChannelConfiguration
(Construct scope, String id, CfnSlackChannelConfigurationProps props) Create a newAWS::SupportApp::SlackChannelConfiguration
.protected
CfnSlackChannelConfiguration
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnSlackChannelConfiguration
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionThe channel ID in Slack.The channel name in Slack.The Amazon Resource Name (ARN) of the IAM role for this Slack channel configuration.Whether to get notified when a correspondence is added to your support cases.The case severity for your support cases that you want to receive notifications.Whether to get notified when your support cases are created or reopened.Whether to get notified when your support cases are resolved.The team ID in Slack.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
setChannelId
(String value) The channel ID in Slack.void
setChannelName
(String value) The channel name in Slack.void
setChannelRoleArn
(String value) The Amazon Resource Name (ARN) of the IAM role for this Slack channel configuration.void
Whether to get notified when a correspondence is added to your support cases.void
Whether to get notified when a correspondence is added to your support cases.void
setNotifyOnCaseSeverity
(String value) The case severity for your support cases that you want to receive notifications.void
Whether to get notified when your support cases are created or reopened.void
Whether to get notified when your support cases are created or reopened.void
setNotifyOnResolveCase
(Boolean value) Whether to get notified when your support cases are resolved.void
Whether to get notified when your support cases are resolved.void
The team ID in Slack.Methods inherited from class software.amazon.awscdk.core.CfnResource
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validateProperties
Methods inherited from class software.amazon.awscdk.core.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.core.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.amazon.awscdk.core.Construct
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnSlackChannelConfiguration
protected CfnSlackChannelConfiguration(software.amazon.jsii.JsiiObjectRef objRef) -
CfnSlackChannelConfiguration
protected CfnSlackChannelConfiguration(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnSlackChannelConfiguration
@Stability(Stable) public CfnSlackChannelConfiguration(@NotNull Construct scope, @NotNull String id, @NotNull CfnSlackChannelConfigurationProps props) Create a newAWS::SupportApp::SlackChannelConfiguration
.- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
props
-- resource properties.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspect
in interfaceIInspectable
- Parameters:
inspector
-- tree inspector to collect and process attributes.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderProperties
in classCfnResource
- Parameters:
props
- This parameter is required.
-
getCfnProperties
- Overrides:
getCfnProperties
in classCfnResource
-
getChannelId
The channel ID in Slack.This ID identifies a channel within a Slack workspace.
-
setChannelId
The channel ID in Slack.This ID identifies a channel within a Slack workspace.
-
getChannelRoleArn
The Amazon Resource Name (ARN) of the IAM role for this Slack channel configuration.The AWS Support App uses this role to perform AWS Support and Service Quotas actions on your behalf.
-
setChannelRoleArn
The Amazon Resource Name (ARN) of the IAM role for this Slack channel configuration.The AWS Support App uses this role to perform AWS Support and Service Quotas actions on your behalf.
-
getNotifyOnCaseSeverity
The case severity for your support cases that you want to receive notifications.You can specify
none
,all
, orhigh
. -
setNotifyOnCaseSeverity
The case severity for your support cases that you want to receive notifications.You can specify
none
,all
, orhigh
. -
getTeamId
The team ID in Slack.This ID uniquely identifies a Slack workspace.
-
setTeamId
The team ID in Slack.This ID uniquely identifies a Slack workspace.
-
getChannelName
The channel name in Slack.This is the channel where you invite the AWS Support App .
-
setChannelName
The channel name in Slack.This is the channel where you invite the AWS Support App .
-
getNotifyOnAddCorrespondenceToCase
Whether to get notified when a correspondence is added to your support cases. -
setNotifyOnAddCorrespondenceToCase
Whether to get notified when a correspondence is added to your support cases. -
setNotifyOnAddCorrespondenceToCase
Whether to get notified when a correspondence is added to your support cases. -
getNotifyOnCreateOrReopenCase
Whether to get notified when your support cases are created or reopened. -
setNotifyOnCreateOrReopenCase
Whether to get notified when your support cases are created or reopened. -
setNotifyOnCreateOrReopenCase
Whether to get notified when your support cases are created or reopened. -
getNotifyOnResolveCase
Whether to get notified when your support cases are resolved. -
setNotifyOnResolveCase
Whether to get notified when your support cases are resolved. -
setNotifyOnResolveCase
Whether to get notified when your support cases are resolved.
-