Interface IRepositoryNotifyOnOptions
Additional options to pass to the notification rule.
Inherited Members
Namespace: Amazon.CDK.AWS.CodeCommit
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IRepositoryNotifyOnOptions : INotificationRuleOptions
Syntax (vb)
Public Interface IRepositoryNotifyOnOptions
Inherits INotificationRuleOptions
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.CodeCommit;
using Amazon.CDK.AWS.CodeStarNotifications;
var repositoryNotifyOnOptions = new RepositoryNotifyOnOptions {
Events = new [] { RepositoryNotificationEvents.COMMIT_COMMENT },
// the properties below are optional
CreatedBy = "createdBy",
DetailType = DetailType.BASIC,
Enabled = false,
NotificationRuleName = "notificationRuleName"
};
Synopsis
Properties
Events | A list of event types associated with this notification rule for CodeCommit repositories. |
Properties
Events
A list of event types associated with this notification rule for CodeCommit repositories.
RepositoryNotificationEvents[] Events { get; }
Property Value
RepositoryNotificationEvents[]
Remarks
For a complete list of event types and IDs, see Notification concepts in the Developer Tools Console User Guide.
See: https://docs.aws.amazon.com/dtconsole/latest/userguide/concepts.html#concepts-api