@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:37.363Z") @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 NotificationRuleOptionsProjectNotifyOnOptions.Builder of ProjectNotifyOnOptionsCopyright © 2022. All rights reserved.