Enum ScaleInProtectedInstances

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

@Generated(value="jsii-pacmak/1.138.0 (build 0ca7ee8)", date="2026-07-31T10:49:23.697Z") @Stability(Stable) public enum ScaleInProtectedInstances extends Enum<ScaleInProtectedInstances>
The behavior of instances that are protected from scale in during an instance refresh.
  • Enum Constant Details

    • REFRESH

      @Stability(Stable) public static final ScaleInProtectedInstances REFRESH
      Refresh instances that are protected from scale in.
    • IGNORE

      @Stability(Stable) public static final ScaleInProtectedInstances IGNORE
      Ignore instances that are protected from scale in.
    • WAIT

      @Stability(Stable) public static final ScaleInProtectedInstances WAIT
      Wait until instances are no longer protected from scale in, then refresh them.
  • Method Details

    • values

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