@Generated(value="jsii-pacmak/1.71.0 (build f1f58ae)", date="2022-12-07T17:24:40.103Z") @Stability(value=Stable) public interface ISlackChannelConfiguration extends software.amazon.jsii.JsiiSerializable, IResource, IGrantable, INotificationRuleTarget
| Modifier and Type | Interface and Description |
|---|---|
static interface |
ISlackChannelConfiguration.Jsii$Default
Internal default implementation for
ISlackChannelConfiguration. |
static class |
ISlackChannelConfiguration.Jsii$Proxy
A proxy class which represents a concrete javascript instance of this type.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addToRolePolicy(PolicyStatement statement)
Adds a statement to the IAM role.
|
default IRole |
getRole()
The permission role of Slack channel configuration.
|
String |
getSlackChannelConfigurationArn()
The ARN of the Slack channel configuration In the form of arn:aws:chatbot:{region}:{account}:chat-configuration/slack-channel/{slackChannelName}.
|
String |
getSlackChannelConfigurationName()
The name of Slack channel configuration.
|
Metric |
metric(String metricName)
Return the given named metric for this SlackChannelConfiguration.
|
Metric |
metric(String metricName,
MetricOptions props)
Return the given named metric for this SlackChannelConfiguration.
|
applyRemovalPolicy, getEnv, getStackgetNodegetGrantPrincipalbindAsNotificationRuleTarget@Stability(value=Stable) @NotNull String getSlackChannelConfigurationArn()
@Stability(value=Stable) @NotNull String getSlackChannelConfigurationName()
@Stability(value=Stable) @Nullable default IRole getRole()
Default: - A role will be created.
@Stability(value=Stable)
void addToRolePolicy(@NotNull
PolicyStatement statement)
statement - This parameter is required.@Stability(value=Stable) @NotNull Metric metric(@NotNull String metricName, @Nullable MetricOptions props)
metricName - This parameter is required.props - Copyright © 2022. All rights reserved.