Enum ScalingEvent

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

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:45.404Z") @Stability(Stable) public enum ScalingEvent extends Enum<ScalingEvent>
Fleet scaling events.
  • Enum Constant Details

    • INSTANCE_LAUNCH

      @Stability(Stable) public static final ScalingEvent INSTANCE_LAUNCH
      Notify when an instance was launched.
    • INSTANCE_TERMINATE

      @Stability(Stable) public static final ScalingEvent INSTANCE_TERMINATE
      Notify when an instance was terminated.
    • INSTANCE_TERMINATE_ERROR

      @Stability(Stable) public static final ScalingEvent INSTANCE_TERMINATE_ERROR
      Notify when an instance failed to terminate.
    • INSTANCE_LAUNCH_ERROR

      @Stability(Stable) public static final ScalingEvent INSTANCE_LAUNCH_ERROR
      Notify when an instance failed to launch.
    • TEST_NOTIFICATION

      @Stability(Stable) public static final ScalingEvent TEST_NOTIFICATION
      Send a test notification to the topic.
  • Method Details

    • values

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