PolicyStepScalingPolicyConfiguration class
Constructors
-
PolicyStepScalingPolicyConfiguration({Input<String?>? adjustmentType, Input<int?>? cooldown, Input<String?>? metricAggregationType, Input<int?>? minAdjustmentMagnitude, Input<List<PolicyStepScalingPolicyConfigurationStepAdjustment>?>? stepAdjustments})
-
Creates a new PolicyStepScalingPolicyConfiguration.
adjustmentType Whether the adjustment is an absolute number or a percentage of the current capacity. Valid values are ChangeInCapacity, ExactCapacity, and PercentChangeInCapacity.
cooldown Amount of time, in seconds, after a scaling activity completes and before the next scaling activity can start.
metricAggregationType Aggregation type for the policy's metrics. Valid values are Minimum, Maximum, and Average. Without a value, AWS treats the aggregation type as Average.
minAdjustmentMagnitude Minimum number to adjust your scalable dimension as a result of a scaling activity. If the adjustment type is PercentChangeInCapacity, the scaling policy changes the scalable dimension of the scalable target by this amount.
stepAdjustments Set of adjustments that manage scaling. See step_scaling_policy_configuration.step_adjustment Block for details.
const
-
PolicyStepScalingPolicyConfiguration.fromMap(Map<String, dynamic> map)
-
factory
Properties
-
adjustmentType
→ Input<String?>?
-
Whether the adjustment is an absolute number or a percentage of the current capacity. Valid values are
ChangeInCapacity, ExactCapacity, and PercentChangeInCapacity.
final
-
cooldown
→ Input<int?>?
-
Amount of time, in seconds, after a scaling activity completes and before the next scaling activity can start.
final
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
metricAggregationType
→ Input<String?>?
-
Aggregation type for the policy's metrics. Valid values are
Minimum, Maximum, and Average. Without a value, AWS treats the aggregation type as Average.
final
-
minAdjustmentMagnitude
→ Input<int?>?
-
Minimum number to adjust your scalable dimension as a result of a scaling activity. If the adjustment type is
PercentChangeInCapacity, the scaling policy changes the scalable dimension of the scalable target by this amount.
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
stepAdjustments
→ Input<List<PolicyStepScalingPolicyConfigurationStepAdjustment>?>?
-
Set of adjustments that manage scaling. See
step_scaling_policy_configuration.step_adjustment Block for details.
final