Class CfnSlackChannelConfiguration
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.supportapp.CfnSlackChannelConfiguration
- All Implemented Interfaces:
IInspectable,IEnvironmentAware,ISlackChannelConfigurationRef,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.121.0 (build d7af9b9)",
date="2025-12-18T18:20:19.045Z")
@Stability(Stable)
public class CfnSlackChannelConfiguration
extends CfnResource
implements IInspectable, ISlackChannelConfigurationRef
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 :
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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnSlackChannelConfiguration.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.supportapp.ISlackChannelConfigurationRef
ISlackChannelConfigurationRef.Jsii$Default, ISlackChannelConfigurationRef.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnSlackChannelConfiguration(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnSlackChannelConfiguration(software.amazon.jsii.JsiiObjectRef objRef) CfnSlackChannelConfiguration(software.constructs.Construct scope, String id, CfnSlackChannelConfigurationProps props) Create a newAWS::SupportApp::SlackChannelConfiguration. -
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.A reference to a SlackChannelConfiguration resource.The team ID in Slack.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnSlackChannelConfiguration.renderProperties(Map<String, Object> props) voidsetChannelId(String value) The channel ID in Slack.voidsetChannelName(String value) The channel name in Slack.voidsetChannelRoleArn(String value) The Amazon Resource Name (ARN) of the IAM role for this Slack channel configuration.voidWhether to get notified when a correspondence is added to your support cases.voidWhether to get notified when a correspondence is added to your support cases.voidsetNotifyOnCaseSeverity(String value) The case severity for your support cases that you want to receive notifications.voidWhether to get notified when your support cases are created or reopened.voidWhether to get notified when your support cases are created or reopened.voidsetNotifyOnResolveCase(Boolean value) Whether to get notified when your support cases are resolved.voidWhether to get notified when your support cases are resolved.voidThe team ID in Slack.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods 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 software.constructs.Construct scope, @NotNull String id, @NotNull CfnSlackChannelConfigurationProps props) Create a newAWS::SupportApp::SlackChannelConfiguration.- Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties. This parameter is required.
-
-
Method Details
-
isCfnSlackChannelConfiguration
Checks whether the given object is a CfnSlackChannelConfiguration.- Parameters:
x- This parameter is required.
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getSlackChannelConfigurationRef
@Stability(Stable) @NotNull public SlackChannelConfigurationReference getSlackChannelConfigurationRef()A reference to a SlackChannelConfiguration resource.- Specified by:
getSlackChannelConfigurationRefin interfaceISlackChannelConfigurationRef
-
getChannelId
The channel ID in Slack. -
setChannelId
The channel ID in Slack. -
getChannelRoleArn
The Amazon Resource Name (ARN) of the IAM role for this Slack channel configuration. -
setChannelRoleArn
The Amazon Resource Name (ARN) of the IAM role for this Slack channel configuration. -
getNotifyOnCaseSeverity
The case severity for your support cases that you want to receive notifications. -
setNotifyOnCaseSeverity
The case severity for your support cases that you want to receive notifications. -
getTeamId
The team ID in Slack. -
setTeamId
The team ID in Slack. -
getChannelName
The channel name in Slack. -
setChannelName
The channel name in Slack. -
getNotifyOnAddCorrespondenceToCase
Whether to get notified when a correspondence is added to your support cases.Returns union: either
BooleanorIResolvable -
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.Returns union: either
BooleanorIResolvable -
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.Returns union: either
BooleanorIResolvable -
setNotifyOnResolveCase
Whether to get notified when your support cases are resolved. -
setNotifyOnResolveCase
Whether to get notified when your support cases are resolved.
-