@Generated(value="jsii-pacmak/1.29.0 (build 41df200)", date="2021-06-02T09:55:01.097Z") @Stability(value=Experimental) public interface BasicTargetTrackingScalingPolicyProps extends software.amazon.jsii.JsiiSerializable, BaseTargetTrackingProps
| Modifier and Type | Interface and Description |
|---|---|
static class |
BasicTargetTrackingScalingPolicyProps.Builder
A builder for
BasicTargetTrackingScalingPolicyProps |
static class |
BasicTargetTrackingScalingPolicyProps.Jsii$Proxy
An implementation for
BasicTargetTrackingScalingPolicyProps |
| Modifier and Type | Method and Description |
|---|---|
static BasicTargetTrackingScalingPolicyProps.Builder |
builder() |
default IMetric |
getCustomMetric()
(experimental) A custom metric for application autoscaling.
|
default PredefinedMetric |
getPredefinedMetric()
(experimental) A predefined metric for application autoscaling.
|
default String |
getResourceLabel()
(experimental) The resource label associated with the predefined metric.
|
Number |
getTargetValue()
(experimental) The target value for the metric.
|
getCooldown, getDisableScaleIn, getEstimatedInstanceWarmup@Stability(value=Experimental) @NotNull Number getTargetValue()
@Stability(value=Experimental) @Nullable default IMetric getCustomMetric()
The metric must track utilization. Scaling out will happen if the metric is higher than the target value, scaling in will happen in the metric is lower than the target value.
Exactly one of customMetric or predefinedMetric must be specified.
Default: - No custom metric.
@Stability(value=Experimental) @Nullable default PredefinedMetric getPredefinedMetric()
The metric must track utilization. Scaling out will happen if the metric is higher than the target value, scaling in will happen in the metric is lower than the target value.
Exactly one of customMetric or predefinedMetric must be specified.
Default: - No predefined metric.
@Stability(value=Experimental) @Nullable default String getResourceLabel()
Should be supplied if the predefined metric is ALBRequestCountPerTarget, and the format should be:
app/
Default: - No resource label.
@Stability(value=Experimental) static BasicTargetTrackingScalingPolicyProps.Builder builder()
builder in interface BaseTargetTrackingPropsBasicTargetTrackingScalingPolicyProps.Builder of BasicTargetTrackingScalingPolicyPropsCopyright © 2021. All rights reserved.