Table of Contents

Interface INotificationRule

Namespace
Amazon.CDK.AWS.CodeStarNotifications
Assembly
Amazon.CDK.AWS.CodeStarNotifications.dll

Represents a notification rule.

public interface INotificationRule : IResource, IConstruct, IConstruct, IDependable

Properties

NotificationRuleArn

The ARN of the notification rule (i.e. arn:aws:codestar-notifications:::notificationrule/01234abcde).

string NotificationRuleArn { get; }

Property Value

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

bool

boolean - return true if it had any effect