@Generated(value="jsii-pacmak/1.73.0 (build 6faeda3)", date="2023-01-25T18:29:02.616Z") public interface ISlackChannelConfiguration extends 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.
|
java.lang.String |
getSlackChannelConfigurationArn()
The ARN of the Slack channel configuration In the form of arn:aws:chatbot:{region}:{account}:chat-configuration/slack-channel/{slackChannelName}.
|
java.lang.String |
getSlackChannelConfigurationName()
The name of Slack channel configuration.
|
Metric |
metric(java.lang.String metricName)
Return the given named metric for this SlackChannelConfiguration.
|
Metric |
metric(java.lang.String metricName,
MetricOptions props)
Return the given named metric for this SlackChannelConfiguration.
|
applyRemovalPolicy, getEnv, getStack
getNode
getGrantPrincipal
bindAsNotificationRuleTarget
java.lang.String getSlackChannelConfigurationArn()
java.lang.String getSlackChannelConfigurationName()
default IRole getRole()
Default: - A role will be created.
void addToRolePolicy(PolicyStatement statement)
statement
- This parameter is required.Metric metric(java.lang.String metricName, MetricOptions props)
metricName
- This parameter is required.props
- Metric metric(java.lang.String metricName)
metricName
- This parameter is required.