@Generated(value="jsii-pacmak/1.29.0 (build 41df200)", date="2021-06-02T09:55:01.182Z") @Stability(value=Experimental) public interface ISlackChannelConfiguration extends software.amazon.jsii.JsiiSerializable, IResource, IGrantable
| 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)
(experimental) Adds a statement to the IAM role.
|
default IRole |
getRole()
(experimental) The permission role of Slack channel configuration.
|
String |
getSlackChannelConfigurationArn()
(experimental) The ARN of the Slack channel configuration In the form of arn:aws:chatbot:{region}:{account}:chat-configuration/slack-channel/{slackChannelName}.
|
String |
getSlackChannelConfigurationName()
(experimental) The name of Slack channel configuration.
|
Metric |
metric(String metricName)
(experimental) Return the given named metric for this SlackChannelConfiguration.
|
Metric |
metric(String metricName,
MetricOptions props)
(experimental) Return the given named metric for this SlackChannelConfiguration.
|
getGrantPrincipal@Stability(value=Experimental) @NotNull String getSlackChannelConfigurationArn()
@Stability(value=Experimental) @NotNull String getSlackChannelConfigurationName()
@Stability(value=Experimental) @Nullable default IRole getRole()
Default: - A role will be created.
@Stability(value=Experimental)
void addToRolePolicy(@NotNull
PolicyStatement statement)
statement - This parameter is required.@Stability(value=Experimental) @NotNull Metric metric(@NotNull String metricName, @Nullable MetricOptions props)
metricName - This parameter is required.props - Copyright © 2021. All rights reserved.