Interface ProjectNotifyOnOptions
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable,NotificationRuleOptions
- All Known Implementing Classes:
ProjectNotifyOnOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.118.0 (build 02eec31)",
date="2025-11-04T09:27:36.696Z")
@Stability(Stable)
public interface ProjectNotifyOnOptions
extends software.amazon.jsii.JsiiSerializable, NotificationRuleOptions
Additional options to pass to the notification rule.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.codebuild.*;
import software.amazon.awscdk.services.codestarnotifications.*;
ProjectNotifyOnOptions projectNotifyOnOptions = ProjectNotifyOnOptions.builder()
.events(List.of(ProjectNotificationEvents.BUILD_FAILED))
// the properties below are optional
.createdBy("createdBy")
.detailType(DetailType.BASIC)
.enabled(false)
.notificationRuleName("notificationRuleName")
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forProjectNotifyOnOptionsstatic final classAn implementation forProjectNotifyOnOptions -
Method Summary
Modifier and TypeMethodDescriptionbuilder()A list of event types associated with this notification rule for CodeBuild Project.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJsonMethods inherited from interface software.amazon.awscdk.services.codestarnotifications.NotificationRuleOptions
getCreatedBy, getDetailType, getEnabled, getNotificationRuleName
-
Method Details
-
getEvents
A list of event types associated with this notification rule for CodeBuild Project.For a complete list of event types and IDs, see Notification concepts in the Developer Tools Console User Guide.
- See Also:
-
builder
- Returns:
- a
ProjectNotifyOnOptions.BuilderofProjectNotifyOnOptions
-