Enum ImagePipelineStatus

java.lang.Object
java.lang.Enum<ImagePipelineStatus>
software.amazon.awscdk.services.imagebuilder.alpha.ImagePipelineStatus
All Implemented Interfaces:
Serializable, Comparable<ImagePipelineStatus>, java.lang.constant.Constable

@Generated(value="jsii-pacmak/1.120.0 (build 192dc88)", date="2025-12-05T22:26:50.062Z") @Stability(Experimental) public enum ImagePipelineStatus extends Enum<ImagePipelineStatus>
(experimental) Indicates whether the pipeline is enabled to be triggered by the provided schedule.

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();
 
  • Enum Constant Details

    • ENABLED

      @Stability(Experimental) public static final ImagePipelineStatus ENABLED
      (experimental) Indicates that the pipeline is enabled for scheduling.
    • DISABLED

      @Stability(Experimental) public static final ImagePipelineStatus DISABLED
      (experimental) Indicates that the pipeline is disabled and will not be triggered on the schedule.
  • Method Details

    • values

      public static ImagePipelineStatus[] 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

      public static ImagePipelineStatus valueOf(String name)
      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 name
      NullPointerException - if the argument is null