@Generated(value="jsii-pacmak/1.72.0 (build 4b8828b)", date="2023-01-03T16:22:32.221Z") @Stability(value=Stable) public interface PipelineNotifyOnOptions 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.codepipeline.*;
import software.amazon.awscdk.services.codestarnotifications.*;
PipelineNotifyOnOptions pipelineNotifyOnOptions = PipelineNotifyOnOptions.builder()
.events(List.of(PipelineNotificationEvents.PIPELINE_EXECUTION_FAILED))
// the properties below are optional
.detailType(DetailType.BASIC)
.enabled(false)
.notificationRuleName("notificationRuleName")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
PipelineNotifyOnOptions.Builder
A builder for
PipelineNotifyOnOptions |
static class |
PipelineNotifyOnOptions.Jsii$Proxy
An implementation for
PipelineNotifyOnOptions |
| Modifier and Type | Method and Description |
|---|---|
static PipelineNotifyOnOptions.Builder |
builder() |
List<PipelineNotificationEvents> |
getEvents()
A list of event types associated with this notification rule for CodePipeline Pipeline.
|
getDetailType, getEnabled, getNotificationRuleName@Stability(value=Stable) @NotNull List<PipelineNotificationEvents> getEvents()
For a complete list of event types and IDs, see Notification concepts in the Developer Tools Console User Guide.
@Stability(value=Stable) static PipelineNotifyOnOptions.Builder builder()
builder in interface NotificationRuleOptionsPipelineNotifyOnOptions.Builder of PipelineNotifyOnOptionsCopyright © 2023. All rights reserved.