Interface INotificationRule

All Superinterfaces:
software.constructs.IConstruct, software.constructs.IDependable, IResource, software.amazon.jsii.JsiiSerializable
All Known Subinterfaces:
INotificationRule.Jsii$Default
All Known Implementing Classes:
INotificationRule.Jsii$Proxy, NotificationRule

@Generated(value="jsii-pacmak/1.101.0 (build b95fe5d)", date="2024-07-12T19:33:59.388Z") @Stability(Stable) public interface INotificationRule extends software.amazon.jsii.JsiiSerializable, IResource
Represents a notification rule.
  • Method Details

    • getNotificationRuleArn

      @Stability(Stable) @NotNull String getNotificationRuleArn()
      The ARN of the notification rule (i.e. arn:aws:codestar-notifications:::notificationrule/01234abcde).
    • addTarget

      @Stability(Stable) @NotNull Boolean addTarget(@NotNull INotificationRuleTarget target)
      Adds target to notification rule.

      Parameters:
      target - The SNS topic or AWS Chatbot Slack target. This parameter is required.
      Returns:
      boolean - return true if it had any effect