Class PolicyPredictiveScalingConfiguration


  • public final class PolicyPredictiveScalingConfiguration
    extends java.lang.Object
    • Method Detail

      • maxCapacityBreachBehavior

        public java.util.Optional<java.lang.String> maxCapacityBreachBehavior()
        Returns:
        Defines the behavior that should be applied if the forecast capacity approaches or exceeds the maximum capacity of the Auto Scaling group. Valid values are `HonorMaxCapacity` or `IncreaseMaxCapacity`. Default is `HonorMaxCapacity`.
      • maxCapacityBuffer

        public java.util.Optional<java.lang.String> maxCapacityBuffer()
        Returns:
        Size of the capacity buffer to use when the forecast capacity is close to or exceeds the maximum capacity. Valid range is `0` to `100`. If set to `0`, Amazon EC2 Auto Scaling may scale capacity higher than the maximum capacity to equal but not exceed forecast capacity.
      • mode

        public java.util.Optional<java.lang.String> mode()
        Returns:
        Predictive scaling mode. Valid values are `ForecastAndScale` and `ForecastOnly`. Default is `ForecastOnly`.
      • schedulingBufferTime

        public java.util.Optional<java.lang.String> schedulingBufferTime()
        Returns:
        Amount of time, in seconds, by which the instance launch time can be advanced. Minimum is `0`.