Interface CfnCapacityProvider.TargetTrackingScalingPolicyProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnCapacityProvider.TargetTrackingScalingPolicyProperty.Jsii$Proxy
- Enclosing class:
CfnCapacityProvider
@Stability(Stable)
public static interface CfnCapacityProvider.TargetTrackingScalingPolicyProperty
extends software.amazon.jsii.JsiiSerializable
A scaling policy for the capacity provider that automatically adjusts capacity to maintain a target value for a specific metric.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.lambda.*;
TargetTrackingScalingPolicyProperty targetTrackingScalingPolicyProperty = TargetTrackingScalingPolicyProperty.builder()
.predefinedMetricType("predefinedMetricType")
.targetValue(123)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnCapacityProvider.TargetTrackingScalingPolicyPropertystatic final classAn implementation forCfnCapacityProvider.TargetTrackingScalingPolicyProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The predefined metric type to track for scaling decisions.The target value for the metric that the scaling policy attempts to maintain through scaling actions.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getPredefinedMetricType
The predefined metric type to track for scaling decisions.- See Also:
-
getTargetValue
The target value for the metric that the scaling policy attempts to maintain through scaling actions.- See Also:
-
builder
-