Enum ScheduleStartCondition
java.lang.Object
java.lang.Enum<ScheduleStartCondition>
software.amazon.awscdk.services.imagebuilder.alpha.ScheduleStartCondition
- All Implemented Interfaces:
Serializable,Comparable<ScheduleStartCondition>,java.lang.constant.Constable
@Generated(value="jsii-pacmak/1.120.0 (build 192dc88)",
date="2025-12-05T22:26:50.100Z")
@Stability(Experimental)
public enum ScheduleStartCondition
extends Enum<ScheduleStartCondition>
(experimental) The start condition for the pipeline, indicating the condition under which a pipeline should be triggered.
Example:
ImagePipeline advancedSchedulePipeline = ImagePipeline.Builder.create(this, "AdvancedSchedulePipeline")
.recipe(exampleImageRecipe)
.schedule(ImagePipelineSchedule.builder()
.expression(Schedule.rate(Duration.days(7)))
// Only trigger when dependencies are updated (new base images, components, etc.)
.startCondition(ScheduleStartCondition.EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE)
// Automatically disable after 3 consecutive failures
.autoDisableFailureCount(3)
.build())
// Start enabled
.status(ImagePipelineStatus.ENABLED)
.build();
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription(experimental) 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.(experimental) Indicates to trigger a pipeline whenever its schedule is met. -
Method Summary
Modifier and TypeMethodDescriptionstatic ScheduleStartConditionReturns the enum constant of this type with the specified name.static ScheduleStartCondition[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
EXPRESSION_MATCH_ONLY
(experimental) Indicates to trigger a pipeline whenever its schedule is met. -
EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE
@Stability(Experimental) public static final ScheduleStartCondition EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE(experimental) 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.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-