Interface EnableScalingProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
EnableScalingProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-29T11:15:36.565Z")
@Stability(Stable)
public interface EnableScalingProps
extends software.amazon.jsii.JsiiSerializable
Properties for enabling DynamoDB capacity scaling.
Example:
import software.amazon.awscdk.services.dynamodb.*;
Table table;
IScalableTableAttribute readCapacity = table.autoScaleReadCapacity(EnableScalingProps.builder()
.minCapacity(10)
.maxCapacity(1000)
.build());
readCapacity.scaleOnUtilization(UtilizationScalingProps.builder()
.targetUtilizationPercent(60)
.build());
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forEnableScalingPropsstatic final classAn implementation forEnableScalingProps -
Method Summary
Modifier and TypeMethodDescriptionstatic EnableScalingProps.Builderbuilder()Maximum capacity to scale to.Minimum capacity to scale to.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getMaxCapacity
Maximum capacity to scale to. -
getMinCapacity
Minimum capacity to scale to. -
builder
- Returns:
- a
EnableScalingProps.BuilderofEnableScalingProps
-