enum ScheduleStartCondition
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.ImageBuilder.Alpha.ScheduleStartCondition |
Go | github.com/aws/aws-cdk-go/awsimagebuilderalpha/v2#ScheduleStartCondition |
Java | software.amazon.awscdk.services.imagebuilder.alpha.ScheduleStartCondition |
Python | aws_cdk.aws_imagebuilder_alpha.ScheduleStartCondition |
TypeScript (source) | @aws-cdk/aws-imagebuilder-alpha ยป ScheduleStartCondition |
The start condition for the pipeline, indicating the condition under which a pipeline should be triggered.
Example
const advancedSchedulePipeline = new imagebuilder.ImagePipeline(this, 'AdvancedSchedulePipeline', {
recipe: exampleImageRecipe,
schedule: {
expression: events.Schedule.rate(Duration.days(7)),
// Only trigger when dependencies are updated (new base images, components, etc.)
startCondition: imagebuilder.ScheduleStartCondition.EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE,
// Automatically disable after 3 consecutive failures
autoDisableFailureCount: 3
},
// Start enabled
status: imagebuilder.ImagePipelineStatus.ENABLED
});
Members
| Name | Description |
|---|---|
| EXPRESSION_MATCH_ONLY | Indicates to trigger a pipeline whenever its schedule is met. |
| EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE | Indicates to trigger a pipeline whenever its schedule is met, and there are matching dependency updates available, such as new versions of components or images to use in the pipeline build. |
EXPRESSION_MATCH_ONLY
Indicates to trigger a pipeline whenever its schedule is met.
EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE
Indicates to trigger a pipeline whenever its schedule is met, and there are matching dependency updates available, such as new versions of components or images to use in the pipeline build.

.NET
Go
Java
Python
TypeScript (