@Generated(value="jsii-pacmak/1.24.0 (build b722f66)", date="2021-03-11T13:47:04.992Z") @Stability(value=Stable) public interface MetricTargetTrackingProps extends software.amazon.jsii.JsiiSerializable, BaseTargetTrackingProps
| Modifier and Type | Interface and Description |
|---|---|
static class |
MetricTargetTrackingProps.Builder
A builder for
MetricTargetTrackingProps |
static class |
MetricTargetTrackingProps.Jsii$Proxy
An implementation for
MetricTargetTrackingProps |
| Modifier and Type | Method and Description |
|---|---|
static MetricTargetTrackingProps.Builder |
builder() |
IMetric |
getMetric()
Metric to track.
|
Number |
getTargetValue()
Value to keep the metric around.
|
getCooldown, getDisableScaleIn, getEstimatedInstanceWarmup@Stability(value=Stable) @NotNull IMetric getMetric()
The metric must represent a utilization, so that if it's higher than the target value, your ASG should scale out, and if it's lower it should scale in.
@Stability(value=Stable) @NotNull Number getTargetValue()
@Stability(value=Stable) static MetricTargetTrackingProps.Builder builder()
builder in interface BaseTargetTrackingPropsMetricTargetTrackingProps.Builder of MetricTargetTrackingPropsCopyright © 2021. All rights reserved.