@Generated(value="jsii-pacmak/1.63.2 (build a8a8833)", date="2022-08-08T20:48:11.588Z") @Stability(value=Stable) public interface ProjectNotifyOnOptions extends software.amazon.jsii.JsiiSerializable, NotificationRuleOptions
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();
Modifier and Type | Interface and Description |
---|---|
static class |
ProjectNotifyOnOptions.Builder
A builder for
ProjectNotifyOnOptions |
static class |
ProjectNotifyOnOptions.Jsii$Proxy
An implementation for
ProjectNotifyOnOptions |
Modifier and Type | Method and Description |
---|---|
static ProjectNotifyOnOptions.Builder |
builder() |
List<ProjectNotificationEvents> |
getEvents()
A list of event types associated with this notification rule for CodeBuild Project.
|
getDetailType, getEnabled, getNotificationRuleName
@Stability(value=Stable) @NotNull List<ProjectNotificationEvents> getEvents()
For a complete list of event types and IDs, see Notification concepts in the Developer Tools Console User Guide.
@Stability(value=Stable) static ProjectNotifyOnOptions.Builder builder()
builder
in interface NotificationRuleOptions
ProjectNotifyOnOptions.Builder
of ProjectNotifyOnOptions
Copyright © 2022. All rights reserved.