Interface INotificationRule
Represents a notification rule.
Namespace: Amazon.CDK.AWS.CodeStarNotifications
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface INotificationRule : IResource
Syntax (vb)
Public Interface INotificationRule
Inherits IResource, IConstruct, IDependable
Synopsis
Properties
NotificationRuleArn | The ARN of the notification rule (i.e. arn:aws:codestar-notifications:::notificationrule/01234abcde). |
Methods
AddTarget(INotificationRuleTarget) | Adds target to notification rule. |
Properties
NotificationRuleArn
The ARN of the notification rule (i.e. arn:aws:codestar-notifications:::notificationrule/01234abcde).
string NotificationRuleArn { get; }
Property Value
System.String
Remarks
Attribute: true
Methods
AddTarget(INotificationRuleTarget)
Adds target to notification rule.
bool AddTarget(INotificationRuleTarget target)
Parameters
- target INotificationRuleTarget
The SNS topic or AWS Chatbot Slack target.
Returns
System.Boolean
boolean - return true if it had any effect