Skip to content
v2.274.0

Experimental

@aws-cdk/aws-imagebuilder-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.

ImagePipelineSchedule Struct ​

The schedule settings for the image pipeline, which defines when a pipeline should be triggered.

Example ​

ts
const dailyPipeline = new imagebuilder.ImagePipeline(this, 'DailyPipeline', {
  recipe: exampleContainerRecipe,
  schedule: {
    expression: events.Schedule.rate(Duration.days(1))
  }
});

Properties ​

autoDisableFailureCountoptionalnumberauto_disable_failure_countoptionalint | floatautoDisableFailureCountoptionalNumberAutoDisableFailureCountoptionaldoubleAutoDisableFailureCountoptional*float64#
The number of consecutive failures allowed before the pipeline is automatically disabled.

Default: no auto-disable policy is configured and the pipeline is not automatically disabled on consecutive failures

This value must be between 1 and 10.

expressionScheduleexpressionScheduleexpressionScheduleExpressionScheduleExpressionSchedulerequired#
The schedule expression to use.

This can either be a cron expression or a rate expression.

startConditionoptionalScheduleStartConditionstart_conditionoptionalScheduleStartConditionstartConditionoptionalScheduleStartConditionStartConditionoptionalScheduleStartConditionStartConditionoptionalScheduleStartCondition#
The start condition for the pipeline, indicating the condition under which a pipeline should be triggered.

Default: ScheduleStartCondition.EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE