Interface CfnTablePropsMixin.ScalingPolicyProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTablePropsMixin.ScalingPolicyProperty.Jsii$Proxy
- Enclosing class:
CfnTablePropsMixin
@Stability(Stable)
public static interface CfnTablePropsMixin.ScalingPolicyProperty
extends software.amazon.jsii.JsiiSerializable
Amazon Keyspaces supports the
target tracking auto scaling policy.
With this policy, Amazon Keyspaces auto scaling ensures that the table's ratio of consumed to provisioned capacity stays at or near the target value that you specify. You define the target value as a percentage between 20 and 90.
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.cassandra.*;
ScalingPolicyProperty scalingPolicyProperty = ScalingPolicyProperty.builder()
.targetTrackingScalingPolicyConfiguration(TargetTrackingScalingPolicyConfigurationProperty.builder()
.disableScaleIn(false)
.scaleInCooldown(123)
.scaleOutCooldown(123)
.targetValue(123)
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnTablePropsMixin.ScalingPolicyPropertystatic final classAn implementation forCfnTablePropsMixin.ScalingPolicyProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getTargetTrackingScalingPolicyConfiguration
The auto scaling policy that scales a table based on the ratio of consumed to provisioned capacity.Returns union: either
IResolvableorCfnTablePropsMixin.TargetTrackingScalingPolicyConfigurationProperty- See Also:
-
builder
-