Class PolicyStepAdjustment
- java.lang.Object
-
- com.pulumi.aws.autoscaling.outputs.PolicyStepAdjustment
-
public final class PolicyStepAdjustment extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PolicyStepAdjustment.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PolicyStepAdjustment.Builder
builder()
static PolicyStepAdjustment.Builder
builder(PolicyStepAdjustment defaults)
java.util.Optional<java.lang.String>
metricIntervalLowerBound()
java.util.Optional<java.lang.String>
metricIntervalUpperBound()
java.lang.Integer
scalingAdjustment()
-
-
-
Method Detail
-
metricIntervalLowerBound
public java.util.Optional<java.lang.String> metricIntervalLowerBound()
- Returns:
- Lower bound for the difference between the alarm threshold and the CloudWatch metric. Without a value, AWS will treat this bound as negative infinity.
-
metricIntervalUpperBound
public java.util.Optional<java.lang.String> metricIntervalUpperBound()
- Returns:
- Upper bound for the difference between the alarm threshold and the CloudWatch metric. Without a value, AWS will treat this bound as positive infinity. The upper bound must be greater than the lower bound. Notice the bounds are **relative** to the alarm threshold, meaning that the starting point is not 0%, but the alarm threshold. Check the official [docs](https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-scaling-simple-step.html#as-scaling-steps) for a detailed example. The following arguments are only available to "TargetTrackingScaling" type policies:
-
scalingAdjustment
public java.lang.Integer scalingAdjustment()
- Returns:
- Number of members by which to scale, when the adjustment bounds are breached. A positive value scales up. A negative value scales down.
-
builder
public static PolicyStepAdjustment.Builder builder()
-
builder
public static PolicyStepAdjustment.Builder builder(PolicyStepAdjustment defaults)
-
-