Interface INotificationRule

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

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:29:55.919Z") @Stability(Stable) public interface INotificationRule extends, 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.

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