Interface ISlackChannelConfiguration

All Superinterfaces:
IConstruct, software.constructs.IConstruct, 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.84.0 (build 5404dcf)", date="2023-06-19T16:30:38.215Z") @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.