Interface ProjectNotifyOnOptions
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
,NotificationRuleOptions
- All Known Implementing Classes:
ProjectNotifyOnOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-12-11T23:26:30.428Z")
@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
Modifier and TypeInterfaceDescriptionstatic final class
A builder forProjectNotifyOnOptions
static final class
An 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$toJson
Methods 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.Builder
ofProjectNotifyOnOptions
-