Interface PipelineNotifyOnOptions
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
,NotificationRuleOptions
- All Known Implementing Classes:
PipelineNotifyOnOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-22T02:23:58.894Z")
@Stability(Stable)
public interface PipelineNotifyOnOptions
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.codepipeline.*; import software.amazon.awscdk.services.codestarnotifications.*; PipelineNotifyOnOptions pipelineNotifyOnOptions = PipelineNotifyOnOptions.builder() .events(List.of(PipelineNotificationEvents.PIPELINE_EXECUTION_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 forPipelineNotifyOnOptions
static final class
An implementation forPipelineNotifyOnOptions
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
A list of event types associated with this notification rule for CodePipeline Pipeline.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 CodePipeline Pipeline.For a complete list of event types and IDs, see Notification concepts in the Developer Tools Console User Guide.
- See Also:
-
builder
- Returns:
- a
PipelineNotifyOnOptions.Builder
ofPipelineNotifyOnOptions
-