PolicyPredictiveScalingPolicyConfiguration constructor
Creates a new PolicyPredictiveScalingPolicyConfiguration.
maxCapacityBreachBehavior Behavior applied if the forecast capacity approaches or exceeds the maximum capacity. Valid values are HonorMaxCapacity and IncreaseMaxCapacity.
maxCapacityBuffer Size of the capacity buffer to use when the forecast capacity is close to or exceeds the maximum capacity. The value is specified as a percentage relative to the forecast capacity. Required if the maxCapacityBreachBehavior argument is set to IncreaseMaxCapacity, and cannot be used otherwise.
metricSpecifications Metrics and target utilization to use for predictive scaling. See predictive_scaling_policy_configuration.metric_specification Block for details.
mode Predictive scaling mode. Valid values are ForecastOnly and ForecastAndScale.
schedulingBufferTime Amount of time, in seconds, that the start time can be advanced.
Implementation
const PolicyPredictiveScalingPolicyConfiguration({
this.maxCapacityBreachBehavior,
this.maxCapacityBuffer,
required this.metricSpecifications,
this.mode,
this.schedulingBufferTime,
});