Enum PredefinedMetric

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

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2024-11-27T16:50:53.470Z") @Stability(Stable) public enum PredefinedMetric extends Enum<PredefinedMetric>
One of the predefined autoscaling metrics.
  • Enum Constant Details

    • ASG_AVERAGE_CPU_UTILIZATION

      @Stability(Stable) public static final PredefinedMetric ASG_AVERAGE_CPU_UTILIZATION
      Average CPU utilization of the Auto Scaling group.
    • ASG_AVERAGE_NETWORK_IN

      @Stability(Stable) public static final PredefinedMetric ASG_AVERAGE_NETWORK_IN
      Average number of bytes received on all network interfaces by the Auto Scaling group.
    • ASG_AVERAGE_NETWORK_OUT

      @Stability(Stable) public static final PredefinedMetric ASG_AVERAGE_NETWORK_OUT
      Average number of bytes sent out on all network interfaces by the Auto Scaling group.
    • ALB_REQUEST_COUNT_PER_TARGET

      @Stability(Stable) public static final PredefinedMetric ALB_REQUEST_COUNT_PER_TARGET
      Number of requests completed per target in an Application Load Balancer target group.

      Specify the ALB to look at in the resourceLabel field.

  • Method Details

    • values

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