Interface EnableScalingProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
EnableScalingProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-10-25T14:21:13.452Z")
@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
Modifier and TypeInterfaceDescriptionstatic final class
A builder forEnableScalingProps
static final class
An implementation forEnableScalingProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic EnableScalingProps.Builder
builder()
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.Builder
ofEnableScalingProps
-