Interface CfnScalingPolicyPropsMixin.PredictiveScalingPredefinedLoadMetricProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnScalingPolicyPropsMixin.PredictiveScalingPredefinedLoadMetricProperty.Jsii$Proxy
- Enclosing class:
CfnScalingPolicyPropsMixin
@Stability(Stable)
public static interface CfnScalingPolicyPropsMixin.PredictiveScalingPredefinedLoadMetricProperty
extends software.amazon.jsii.JsiiSerializable
Describes a load metric for a predictive scaling policy.
When returned in the output of DescribePolicies , it indicates that a predictive scaling policy uses individually specified load and scaling metrics instead of a metric pair.
The following predefined metrics are available for predictive scaling:
ECSServiceAverageCPUUtilizationECSServiceAverageMemoryUtilizationECSServiceCPUUtilizationECSServiceMemoryUtilizationECSServiceTotalCPUUtilizationECSServiceTotalMemoryUtilizationALBRequestCountALBRequestCountPerTargetTotalALBRequestCount
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.applicationautoscaling.*;
PredictiveScalingPredefinedLoadMetricProperty predictiveScalingPredefinedLoadMetricProperty = PredictiveScalingPredefinedLoadMetricProperty.builder()
.predefinedMetricType("predefinedMetricType")
.resourceLabel("resourceLabel")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnScalingPolicyPropsMixin.PredictiveScalingPredefinedLoadMetricProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getPredefinedMetricType
The metric type.- See Also:
-
getResourceLabel
A label that uniquely identifies a target group.- See Also:
-
builder
@Stability(Stable) static CfnScalingPolicyPropsMixin.PredictiveScalingPredefinedLoadMetricProperty.Builder builder()
-