@Generated(value="jsii-pacmak/1.50.0 (build d1830a4)", date="2022-01-04T15:39:05.782Z") @Stability(value=Experimental) public interface EnableScalingProps extends software.amazon.jsii.JsiiSerializable
Example:
import software.amazon.awscdk.core.*;
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 © 2022. All rights reserved.