Interface ISlackChannelConfiguration
Represents a Slack channel configuration.
Inherited Members
Namespace: Amazon.CDK.AWS.Chatbot
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ISlackChannelConfiguration : IResource, IGrantable, INotificationRuleTarget
Syntax (vb)
Public Interface ISlackChannelConfiguration
Inherits IResource, IConstruct, IDependable, IGrantable, INotificationRuleTarget
Synopsis
Properties
Role | The permission role of Slack channel configuration. |
SlackChannelConfigurationArn | The ARN of the Slack channel configuration In the form of arn:aws:chatbot:{region}:{account}:chat-configuration/slack-channel/{slackChannelName}. |
SlackChannelConfigurationName | The name of Slack channel configuration. |
Methods
AddToRolePolicy(PolicyStatement) | Adds a statement to the IAM role. |
Metric(String, IMetricOptions) | Return the given named metric for this SlackChannelConfiguration. |
Properties
Role
The permission role of Slack channel configuration.
virtual IRole Role { get; }
Property Value
Remarks
Default: - A role will be created.
Attribute: true
SlackChannelConfigurationArn
The ARN of the Slack channel configuration In the form of arn:aws:chatbot:{region}:{account}:chat-configuration/slack-channel/{slackChannelName}.
string SlackChannelConfigurationArn { get; }
Property Value
System.String
Remarks
Attribute: true
SlackChannelConfigurationName
The name of Slack channel configuration.
string SlackChannelConfigurationName { get; }
Property Value
System.String
Remarks
Attribute: true
Methods
AddToRolePolicy(PolicyStatement)
Adds a statement to the IAM role.
void AddToRolePolicy(PolicyStatement statement)
Parameters
- statement PolicyStatement
Metric(String, IMetricOptions)
Return the given named metric for this SlackChannelConfiguration.
Metric Metric(string metricName, IMetricOptions props = null)
Parameters
- metricName System.String
- props IMetricOptions
Returns