Enum ScalingEvent
- All Implemented Interfaces:
Serializable
,Comparable<ScalingEvent>
,java.lang.constant.Constable
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-10-25T14:21:10.669Z")
@Stability(Stable)
public enum ScalingEvent
extends Enum<ScalingEvent>
Fleet scaling events.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionNotify when an instance was launched.Notify when an instance failed to launch.Notify when an instance was terminated.Notify when an instance failed to terminate.Send a test notification to the topic. -
Method Summary
Modifier and TypeMethodDescriptionstatic ScalingEvent
Returns the enum constant of this type with the specified name.static ScalingEvent[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
INSTANCE_LAUNCH
Notify when an instance was launched. -
INSTANCE_TERMINATE
Notify when an instance was terminated. -
INSTANCE_TERMINATE_ERROR
Notify when an instance failed to terminate. -
INSTANCE_LAUNCH_ERROR
Notify when an instance failed to launch. -
TEST_NOTIFICATION
Send a test notification to the topic.
-
-
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
-