@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-03-28T21:34:27.236Z") public enum ScalingEvent extends java.lang.Enum<ScalingEvent>
Enum Constant and Description |
---|
INSTANCE_LAUNCH
Notify when an instance was launched.
|
INSTANCE_LAUNCH_ERROR
Notify when an instance failed to launch.
|
INSTANCE_TERMINATE
Notify when an instance was terminated.
|
INSTANCE_TERMINATE_ERROR
Notify when an instance failed to terminate.
|
TEST_NOTIFICATION
Send a test notification to the topic.
|
Modifier and Type | Method and Description |
---|---|
static ScalingEvent |
valueOf(java.lang.String name)
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.
|
public static final ScalingEvent INSTANCE_LAUNCH
public static final ScalingEvent INSTANCE_TERMINATE
public static final ScalingEvent INSTANCE_TERMINATE_ERROR
public static final ScalingEvent INSTANCE_LAUNCH_ERROR
public static final ScalingEvent TEST_NOTIFICATION
public static ScalingEvent[] values()
for (ScalingEvent c : ScalingEvent.values()) System.out.println(c);
public static ScalingEvent valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null