PolicyPredictiveScalingConfiguration class

Constructors

PolicyPredictiveScalingConfiguration({Input<String?>? maxCapacityBreachBehavior, Input<String?>? maxCapacityBuffer, required Input<PolicyPredictiveScalingConfigurationMetricSpecification> metricSpecification, Input<String?>? mode, 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.
const
PolicyPredictiveScalingConfiguration.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
maxCapacityBreachBehavior → Input<String?>?
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.
final
maxCapacityBuffer → Input<String?>?
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.
final
metricSpecification → Input<PolicyPredictiveScalingConfigurationMetricSpecification>
This structure includes the metrics and target utilization to use for predictive scaling.
final
mode → Input<String?>?
Predictive scaling mode. Valid values are ForecastAndScale and ForecastOnly. Default is ForecastOnly.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
schedulingBufferTime → Input<String?>?
Amount of time, in seconds, by which the instance launch time can be advanced. Minimum is 0.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited