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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic ScaleInProtectedInstancesReturns the enum constant of this type with the specified name.static ScaleInProtectedInstances[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
REFRESH
Refresh instances that are protected from scale in. -
IGNORE
Ignore instances that are protected from scale in. -
WAIT
Wait until instances are no longer protected from scale in, then refresh them.
-
-
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
-