Interface ISlackChannelConfiguration

All Superinterfaces:
software.constructs.IConstruct, software.constructs.IDependable, IGrantable, INotificationRuleTarget, IResource, software.amazon.jsii.JsiiSerializable
All Known Subinterfaces:
ISlackChannelConfiguration.Jsii$Default
All Known Implementing Classes:
ISlackChannelConfiguration.Jsii$Proxy, SlackChannelConfiguration

@Generated(value="jsii-pacmak/1.97.0 (build 729de35)", date="2024-04-24T21:00:26.451Z") @Stability(Stable) public interface ISlackChannelConfiguration extends software.amazon.jsii.JsiiSerializable, IResource, IGrantable, INotificationRuleTarget
Represents a Slack channel configuration.
  • Method Details

    • getSlackChannelConfigurationArn

      @Stability(Stable) @NotNull String getSlackChannelConfigurationArn()
      The ARN of the Slack channel configuration In the form of arn:aws:chatbot:{region}:{account}:chat-configuration/slack-channel/{slackChannelName}.
    • getSlackChannelConfigurationName

      @Stability(Stable) @NotNull String getSlackChannelConfigurationName()
      The name of Slack channel configuration.
    • getRole

      @Stability(Stable) @Nullable default IRole getRole()
      The permission role of Slack channel configuration.

      Default: - A role will be created.

    • addToRolePolicy

      @Stability(Stable) void addToRolePolicy(@NotNull PolicyStatement statement)
      Adds a statement to the IAM role.

      Parameters:
      statement - This parameter is required.
    • metric

      @Stability(Stable) @NotNull Metric metric(@NotNull String metricName, @Nullable MetricOptions props)
      Return the given named metric for this SlackChannelConfiguration.

      Parameters:
      metricName - This parameter is required.
      props -
    • metric

      @Stability(Stable) @NotNull Metric metric(@NotNull String metricName)
      Return the given named metric for this SlackChannelConfiguration.

      Parameters:
      metricName - This parameter is required.