Interface ImagePipelineSchedule
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ImagePipelineSchedule.Jsii$Proxy
@Generated(value="jsii-pacmak/1.120.0 (build 192dc88)",
date="2025-12-05T22:26:50.061Z")
@Stability(Experimental)
public interface ImagePipelineSchedule
extends software.amazon.jsii.JsiiSerializable
(experimental) The schedule settings for the image pipeline, which defines when a pipeline should be triggered.
Example:
ImagePipeline dailyPipeline = ImagePipeline.Builder.create(this, "DailyPipeline")
.recipe(exampleContainerRecipe)
.schedule(ImagePipelineSchedule.builder()
.expression(Schedule.rate(Duration.days(1)))
.build())
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forImagePipelineSchedulestatic final classAn implementation forImagePipelineSchedule -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default Number(experimental) The number of consecutive failures allowed before the pipeline is automatically disabled.(experimental) The schedule expression to use.default ScheduleStartCondition(experimental) The start condition for the pipeline, indicating the condition under which a pipeline should be triggered.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getExpression
(experimental) The schedule expression to use.This can either be a cron expression or a rate expression.
-
getAutoDisableFailureCount
(experimental) The number of consecutive failures allowed before the pipeline is automatically disabled.This value must be between 1 and 10.
Default: - no auto-disable policy is configured and the pipeline is not automatically disabled on consecutive failures
-
getStartCondition
(experimental) The start condition for the pipeline, indicating the condition under which a pipeline should be triggered.Default: ScheduleStartCondition.EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE
-
builder
- Returns:
- a
ImagePipelineSchedule.BuilderofImagePipelineSchedule
-