Show / Hide Table of Contents

Interface INotificationRule

Represents a notification rule.

Inherited Members
IResource.ApplyRemovalPolicy(RemovalPolicy)
IResource.Env
IResource.Stack
IConstruct.Node
Namespace: Amazon.CDK.AWS.CodeStarNotifications
Assembly: Amazon.CDK.AWS.CodeStarNotifications.dll
Syntax (csharp)
public interface INotificationRule : IResource, IConstruct, IConstruct, IDependable
Syntax (vb)
Public Interface INotificationRule
    Inherits IResource, IConstruct, 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

Back to top Generated by DocFX