Class PolicyStepScalingPolicyConfiguration


  • public final class PolicyStepScalingPolicyConfiguration
    extends java.lang.Object
    • Method Detail

      • adjustmentType

        public java.util.Optional<java.lang.String> adjustmentType()
        Returns:
        Whether the adjustment is an absolute number or a percentage of the current capacity. Valid values are `ChangeInCapacity`, `ExactCapacity`, and `PercentChangeInCapacity`.
      • cooldown

        public java.util.Optional<java.lang.Integer> cooldown()
        Returns:
        Amount of time, in seconds, after a scaling activity completes and before the next scaling activity can start.
      • metricAggregationType

        public java.util.Optional<java.lang.String> metricAggregationType()
        Returns:
        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

        public java.util.Optional<java.lang.Integer> minAdjustmentMagnitude()
        Returns:
        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.