Class CfnSlackChannelConfiguration
You can use the AWS::SupportApp::SlackChannelConfiguration
resource to specify your AWS account when you configure the AWS Support App .
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.SupportApp
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnSlackChannelConfiguration : CfnResource, IInspectable
Syntax (vb)
Public Class CfnSlackChannelConfiguration
Inherits CfnResource
Implements IInspectable
Remarks
This resource includes the following information:
For more information, see the following topics in the AWS Support User Guide :
CloudformationResource: AWS::SupportApp::SlackChannelConfiguration
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.SupportApp;
var cfnSlackChannelConfiguration = new CfnSlackChannelConfiguration(this, "MyCfnSlackChannelConfiguration", new CfnSlackChannelConfigurationProps {
ChannelId = "channelId",
ChannelRoleArn = "channelRoleArn",
NotifyOnCaseSeverity = "notifyOnCaseSeverity",
TeamId = "teamId",
// the properties below are optional
ChannelName = "channelName",
NotifyOnAddCorrespondenceToCase = false,
NotifyOnCreateOrReopenCase = false,
NotifyOnResolveCase = false
});
Synopsis
Constructors
CfnSlackChannelConfiguration(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnSlackChannelConfiguration(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
CfnSlackChannelConfiguration(Construct, String, ICfnSlackChannelConfigurationProps) |
Properties
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
ChannelId | The channel ID in Slack. |
ChannelName | The channel name in Slack. |
ChannelRoleArn | The Amazon Resource Name (ARN) of the IAM role for this Slack channel configuration. |
NotifyOnAddCorrespondenceToCase | Whether to get notified when a correspondence is added to your support cases. |
NotifyOnCaseSeverity | The case severity for your support cases that you want to receive notifications. |
NotifyOnCreateOrReopenCase | Whether to get notified when your support cases are created or reopened. |
NotifyOnResolveCase | Whether to get notified when your support cases are resolved. |
TeamId | The team ID in Slack. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnSlackChannelConfiguration(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnSlackChannelConfiguration(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnSlackChannelConfiguration(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnSlackChannelConfiguration(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
CfnSlackChannelConfiguration(Construct, String, ICfnSlackChannelConfigurationProps)
public CfnSlackChannelConfiguration(Construct scope, string id, ICfnSlackChannelConfigurationProps props)
Parameters
- scope Constructs.Construct
Scope in which this resource is defined.
- id System.String
Construct identifier for this resource (unique in its scope).
- props ICfnSlackChannelConfigurationProps
Resource properties.
Properties
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
ChannelId
The channel ID in Slack.
public virtual string ChannelId { get; set; }
Property Value
System.String
ChannelName
The channel name in Slack.
public virtual string ChannelName { get; set; }
Property Value
System.String
ChannelRoleArn
The Amazon Resource Name (ARN) of the IAM role for this Slack channel configuration.
public virtual string ChannelRoleArn { get; set; }
Property Value
System.String
NotifyOnAddCorrespondenceToCase
Whether to get notified when a correspondence is added to your support cases.
public virtual object NotifyOnAddCorrespondenceToCase { get; set; }
Property Value
System.Object
NotifyOnCaseSeverity
The case severity for your support cases that you want to receive notifications.
public virtual string NotifyOnCaseSeverity { get; set; }
Property Value
System.String
NotifyOnCreateOrReopenCase
Whether to get notified when your support cases are created or reopened.
public virtual object NotifyOnCreateOrReopenCase { get; set; }
Property Value
System.Object
NotifyOnResolveCase
Whether to get notified when your support cases are resolved.
public virtual object NotifyOnResolveCase { get; set; }
Property Value
System.Object
TeamId
The team ID in Slack.
public virtual string TeamId { get; set; }
Property Value
System.String
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>