Enum StandbyInstances

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

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

    • TERMINATE

      @Stability(Stable) public static final StandbyInstances TERMINATE
      Terminate instances in standby and launch new ones to replace them.
    • IGNORE

      @Stability(Stable) public static final StandbyInstances IGNORE
      Ignore instances in standby.
    • WAIT

      @Stability(Stable) public static final StandbyInstances WAIT
      Wait until instances are taken out of standby, then refresh them.
  • Method Details

    • values

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