Experimental
@aws-cdk/aws-imagebuilder-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.
ImagePipelineStatus Enum
Indicates whether the pipeline is enabled to be triggered by the provided schedule.
Example
ts
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
| Member | Description |
|---|---|
ENABLED | Indicates that the pipeline is enabled for scheduling. |
DISABLED | Indicates that the pipeline is disabled and will not be triggered on the schedule. |
Referenced by
ImagePipelineProps.statusstatusstatusStatusStatus