Interface INotificationRule.Jsii$Default

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

@Internal public static interface INotificationRule.Jsii$Default extends INotificationRule, IResource.Jsii$Default, INotificationRuleRef.Jsii$Default
Internal default implementation for INotificationRule.
  • Method Details

    • getNotificationRuleArn

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

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

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