Class CfnScalingPolicy.StepAdjustmentProperty.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.applicationautoscaling.CfnScalingPolicy.StepAdjustmentProperty.Jsii$Proxy
All Implemented Interfaces:
CfnScalingPolicy.StepAdjustmentProperty, software.amazon.jsii.JsiiSerializable
Enclosing interface:
CfnScalingPolicy.StepAdjustmentProperty

@Stability(Stable) @Internal public static final class CfnScalingPolicy.StepAdjustmentProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnScalingPolicy.StepAdjustmentProperty
  • Constructor Details

  • Method Details

    • getScalingAdjustment

      public final Number getScalingAdjustment()
      Description copied from interface: CfnScalingPolicy.StepAdjustmentProperty
      The amount by which to scale.

      The adjustment is based on the value that you specified in the AdjustmentType property (either an absolute number or a percentage). A positive value adds to the current capacity and a negative number subtracts from the current capacity.

      Specified by:
      getScalingAdjustment in interface CfnScalingPolicy.StepAdjustmentProperty
    • getMetricIntervalLowerBound

      public final Number getMetricIntervalLowerBound()
      Description copied from interface: CfnScalingPolicy.StepAdjustmentProperty
      The lower bound for the difference between the alarm threshold and the CloudWatch metric.

      If the metric value is above the breach threshold, the lower bound is inclusive (the metric must be greater than or equal to the threshold plus the lower bound). Otherwise, it is exclusive (the metric must be greater than the threshold plus the lower bound). A null value indicates negative infinity.

      You must specify at least one upper or lower bound.

      Specified by:
      getMetricIntervalLowerBound in interface CfnScalingPolicy.StepAdjustmentProperty
    • getMetricIntervalUpperBound

      public final Number getMetricIntervalUpperBound()
      Description copied from interface: CfnScalingPolicy.StepAdjustmentProperty
      The upper bound for the difference between the alarm threshold and the CloudWatch metric.

      If the metric value is above the breach threshold, the upper bound is exclusive (the metric must be less than the threshold plus the upper bound). Otherwise, it is inclusive (the metric must be less than or equal to the threshold plus the upper bound). A null value indicates positive infinity.

      You must specify at least one upper or lower bound.

      Specified by:
      getMetricIntervalUpperBound in interface CfnScalingPolicy.StepAdjustmentProperty
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object