Interface CfnGlobalTable.TargetTrackingScalingPolicyConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnGlobalTable.TargetTrackingScalingPolicyConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnGlobalTable
@Stability(Stable)
public static interface CfnGlobalTable.TargetTrackingScalingPolicyConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
Defines a target tracking scaling policy.
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.dynamodb.*;
TargetTrackingScalingPolicyConfigurationProperty targetTrackingScalingPolicyConfigurationProperty = TargetTrackingScalingPolicyConfigurationProperty.builder()
.targetValue(123)
// the properties below are optional
.disableScaleIn(false)
.scaleInCooldown(123)
.scaleOutCooldown(123)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnGlobalTable.TargetTrackingScalingPolicyConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectIndicates whether scale in by the target tracking scaling policy is disabled.default NumberThe amount of time, in seconds, after a scale-in activity completes before another scale-in activity can start.default NumberThe amount of time, in seconds, after a scale-out activity completes before another scale-out activity can start.Defines a target value for the scaling policy.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getTargetValue
Defines a target value for the scaling policy.- See Also:
-
getDisableScaleIn
Indicates whether scale in by the target tracking scaling policy is disabled.The default value is
false.Returns union: either
BooleanorIResolvable- See Also:
-
getScaleInCooldown
The amount of time, in seconds, after a scale-in activity completes before another scale-in activity can start.- See Also:
-
getScaleOutCooldown
The amount of time, in seconds, after a scale-out activity completes before another scale-out activity can start.- See Also:
-
builder
@Stability(Stable) static CfnGlobalTable.TargetTrackingScalingPolicyConfigurationProperty.Builder builder()
-