Interface ProjectNotifyOnOptions
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
,NotificationRuleOptions
- All Known Implementing Classes:
ProjectNotifyOnOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:41.839Z")
@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 .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
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
-