interface ImagePipelineSchedule
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.ImageBuilder.Alpha.ImagePipelineSchedule |
Go | github.com/aws/aws-cdk-go/awsimagebuilderalpha/v2#ImagePipelineSchedule |
Java | software.amazon.awscdk.services.imagebuilder.alpha.ImagePipelineSchedule |
Python | aws_cdk.aws_imagebuilder_alpha.ImagePipelineSchedule |
TypeScript (source) | @aws-cdk/aws-imagebuilder-alpha ยป ImagePipelineSchedule |
The schedule settings for the image pipeline, which defines when a pipeline should be triggered.
Example
const dailyPipeline = new imagebuilder.ImagePipeline(this, 'DailyPipeline', {
recipe: exampleContainerRecipe,
schedule: {
expression: events.Schedule.rate(Duration.days(1))
}
});
Properties
| Name | Type | Description |
|---|---|---|
| expression | Schedule | The schedule expression to use. |
| auto | number | The number of consecutive failures allowed before the pipeline is automatically disabled. |
| start | Schedule | The start condition for the pipeline, indicating the condition under which a pipeline should be triggered. |
expression
Type:
Schedule
The schedule expression to use.
This can either be a cron expression or a rate expression.
autoDisableFailureCount?
Type:
number
(optional, default: no auto-disable policy is configured and the pipeline is not automatically disabled on consecutive
failures)
The number of consecutive failures allowed before the pipeline is automatically disabled.
This value must be between 1 and 10.
startCondition?
Type:
Schedule
(optional, default: ScheduleStartCondition.EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE)
The start condition for the pipeline, indicating the condition under which a pipeline should be triggered.

.NET
Go
Java
Python
TypeScript (