@Generated(value="jsii-pacmak/1.46.0 (build cd08c55)", date="2021-11-25T20:11:05.850Z") @Stability(value=Experimental) public interface EnableScalingProps extends software.amazon.jsii.JsiiSerializable
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());
| Modifier and Type | Interface and Description |
|---|---|
static class |
EnableScalingProps.Builder
A builder for
EnableScalingProps |
static class |
EnableScalingProps.Jsii$Proxy
An implementation for
EnableScalingProps |
| Modifier and Type | Method and Description |
|---|---|
static EnableScalingProps.Builder |
builder() |
Number |
getMaxCapacity()
(experimental) Maximum capacity to scale to.
|
Number |
getMinCapacity()
(experimental) Minimum capacity to scale to.
|
@Stability(value=Experimental) @NotNull Number getMaxCapacity()
@Stability(value=Experimental) @NotNull Number getMinCapacity()
@Stability(value=Experimental) static EnableScalingProps.Builder builder()
EnableScalingProps.Builder of EnableScalingPropsCopyright © 2021. All rights reserved.