Interface ISlackChannelConfiguration.Jsii$Default

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

@Internal public static interface ISlackChannelConfiguration.Jsii$Default extends ISlackChannelConfiguration, IResource.Jsii$Default, INotificationRuleTarget.Jsii$Default, IGrantable.Jsii$Default
Internal default implementation for ISlackChannelConfiguration.
  • Method Details

    • getSlackChannelConfigurationArn

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

      @Stability(Stable) @NotNull default String getSlackChannelConfigurationName()
      The name of Slack channel configuration.
      Specified by:
      getSlackChannelConfigurationName in interface ISlackChannelConfiguration
    • getRole

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

      Default: - A role will be created.

      Specified by:
      getRole in interface ISlackChannelConfiguration
    • addToRolePolicy

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

      Specified by:
      addToRolePolicy in interface ISlackChannelConfiguration
      Parameters:
      statement - This parameter is required.
    • metric

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

      Specified by:
      metric in interface ISlackChannelConfiguration
      Parameters:
      metricName - This parameter is required.
      props -
    • metric

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

      Specified by:
      metric in interface ISlackChannelConfiguration
      Parameters:
      metricName - This parameter is required.