Interface CfnCapacityProviderPropsMixin.TargetTrackingScalingPolicyProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnCapacityProviderPropsMixin.TargetTrackingScalingPolicyProperty.Jsii$Proxy
- Enclosing class:
CfnCapacityProviderPropsMixin
@Stability(Stable)
public static interface CfnCapacityProviderPropsMixin.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.cfnpropertymixins.services.lambda.*;
TargetTrackingScalingPolicyProperty targetTrackingScalingPolicyProperty = TargetTrackingScalingPolicyProperty.builder()
.predefinedMetricType("predefinedMetricType")
.targetValue(123)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnCapacityProviderPropsMixin.TargetTrackingScalingPolicyProperty -
Method Summary
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
@Stability(Stable) static CfnCapacityProviderPropsMixin.TargetTrackingScalingPolicyProperty.Builder builder()
-