Interface IProjectNotifyOnOptions
Additional options to pass to the notification rule.
Inherited Members
Namespace: Amazon.CDK.AWS.CodeBuild
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IProjectNotifyOnOptions : INotificationRuleOptions
Syntax (vb)
Public Interface IProjectNotifyOnOptions
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.CodeBuild;
using Amazon.CDK.AWS.CodeStarNotifications;
var projectNotifyOnOptions = new ProjectNotifyOnOptions {
Events = new [] { ProjectNotificationEvents.BUILD_FAILED },
// the properties below are optional
DetailType = DetailType.BASIC,
Enabled = false,
NotificationRuleName = "notificationRuleName"
};
Synopsis
Properties
Events | A list of event types associated with this notification rule for CodeBuild Project. |
Properties
Events
A list of event types associated with this notification rule for CodeBuild Project.
ProjectNotificationEvents[] Events { get; }
Property Value
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