PolicyPredictiveScalingPolicyConfiguration class
Constructors
-
PolicyPredictiveScalingPolicyConfiguration({Input<String?>? maxCapacityBreachBehavior, Input<int?>? maxCapacityBuffer, required Input<List<PolicyPredictiveScalingPolicyConfigurationMetricSpecification>> metricSpecifications, Input<String?>? mode, Input<int?>? schedulingBufferTime})
-
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.
const
-
PolicyPredictiveScalingPolicyConfiguration.fromMap(Map<String, dynamic> map)
-
factory
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
maxCapacityBreachBehavior
→ Input<String?>?
-
Behavior applied if the forecast capacity approaches or exceeds the maximum capacity. Valid values are
HonorMaxCapacity and IncreaseMaxCapacity.
final
-
maxCapacityBuffer
→ Input<int?>?
-
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.
final
-
metricSpecifications
→ Input<List<PolicyPredictiveScalingPolicyConfigurationMetricSpecification>>
-
Metrics and target utilization to use for predictive scaling. See
predictive_scaling_policy_configuration.metric_specification Block for details.
final
-
mode
→ Input<String?>?
-
Predictive scaling mode. Valid values are
ForecastOnly and ForecastAndScale.
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
schedulingBufferTime
→ Input<int?>?
-
Amount of time, in seconds, that the start time can be advanced.
final