Class PolicyStepScalingPolicyConfigurationArgs.Builder

    • Method Detail

      • adjustmentType

        public PolicyStepScalingPolicyConfigurationArgs.Builder adjustmentType​(@Nullable
                                                                               com.pulumi.core.Output<java.lang.String> adjustmentType)
        Parameters:
        adjustmentType - Whether the adjustment is an absolute number or a percentage of the current capacity. Valid values are `ChangeInCapacity`, `ExactCapacity`, and `PercentChangeInCapacity`.
        Returns:
        builder
      • adjustmentType

        public PolicyStepScalingPolicyConfigurationArgs.Builder adjustmentType​(java.lang.String adjustmentType)
        Parameters:
        adjustmentType - Whether the adjustment is an absolute number or a percentage of the current capacity. Valid values are `ChangeInCapacity`, `ExactCapacity`, and `PercentChangeInCapacity`.
        Returns:
        builder
      • cooldown

        public PolicyStepScalingPolicyConfigurationArgs.Builder cooldown​(@Nullable
                                                                         com.pulumi.core.Output<java.lang.Integer> cooldown)
        Parameters:
        cooldown - Amount of time, in seconds, after a scaling activity completes and before the next scaling activity can start.
        Returns:
        builder
      • cooldown

        public PolicyStepScalingPolicyConfigurationArgs.Builder cooldown​(java.lang.Integer cooldown)
        Parameters:
        cooldown - Amount of time, in seconds, after a scaling activity completes and before the next scaling activity can start.
        Returns:
        builder
      • metricAggregationType

        public PolicyStepScalingPolicyConfigurationArgs.Builder metricAggregationType​(@Nullable
                                                                                      com.pulumi.core.Output<java.lang.String> metricAggregationType)
        Parameters:
        metricAggregationType - Aggregation type for the policy's metrics. Valid values are "Minimum", "Maximum", and "Average". Without a value, AWS will treat the aggregation type as "Average".
        Returns:
        builder
      • metricAggregationType

        public PolicyStepScalingPolicyConfigurationArgs.Builder metricAggregationType​(java.lang.String metricAggregationType)
        Parameters:
        metricAggregationType - Aggregation type for the policy's metrics. Valid values are "Minimum", "Maximum", and "Average". Without a value, AWS will treat the aggregation type as "Average".
        Returns:
        builder
      • minAdjustmentMagnitude

        public PolicyStepScalingPolicyConfigurationArgs.Builder minAdjustmentMagnitude​(@Nullable
                                                                                       com.pulumi.core.Output<java.lang.Integer> minAdjustmentMagnitude)
        Parameters:
        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.
        Returns:
        builder
      • minAdjustmentMagnitude

        public PolicyStepScalingPolicyConfigurationArgs.Builder minAdjustmentMagnitude​(java.lang.Integer minAdjustmentMagnitude)
        Parameters:
        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.
        Returns:
        builder