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.116.0 (build 0eddcff)",
date="2025-10-29T11:15:35.232Z")
@Stability(Stable)
public interface INotificationRule
extends software.amazon.jsii.JsiiSerializable, IResource
Represents a notification rule.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceInternal default implementation forINotificationRule.static final classA proxy class which represents a concrete javascript instance of this type. -
Method Summary
Modifier and TypeMethodDescriptionaddTarget(INotificationRuleTarget target) Adds target to notification rule.The ARN of the notification rule (i.e.Methods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.IResource
applyRemovalPolicy, getEnv, getStackMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getNotificationRuleArn
The ARN of the notification rule (i.e. arn:aws:codestar-notifications:::notificationrule/01234abcde). -
addTarget
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
-