PolicyPredictiveScalingConfiguration constructor

const PolicyPredictiveScalingConfiguration({
  1. Input<String?>? maxCapacityBreachBehavior,
  2. Input<String?>? maxCapacityBuffer,
  3. required Input<PolicyPredictiveScalingConfigurationMetricSpecification> metricSpecification,
  4. Input<String?>? mode,
  5. Input<String?>? schedulingBufferTime,
})

Creates a new PolicyPredictiveScalingConfiguration. maxCapacityBreachBehavior 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 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. metricSpecification This structure includes the metrics and target utilization to use for predictive scaling. mode Predictive scaling mode. Valid values are ForecastAndScale and ForecastOnly. Default is ForecastOnly. schedulingBufferTime Amount of time, in seconds, by which the instance launch time can be advanced. Minimum is 0.

Implementation

const PolicyPredictiveScalingConfiguration({
  this.maxCapacityBreachBehavior,
  this.maxCapacityBuffer,
  required this.metricSpecification,
  this.mode,
  this.schedulingBufferTime,
});