@Generated(value="jsii-pacmak/1.70.0 (build 03c2f6f)", date="2022-11-01T13:16:46.116Z") @Stability(value=Experimental) public interface EnableScalingProps extends software.amazon.jsii.JsiiSerializable
Example:
Table globalTable = Table.Builder.create(this, "Table")
.partitionKey(Attribute.builder().name("id").type(AttributeType.STRING).build())
.replicationRegions(List.of("us-east-1", "us-east-2", "us-west-2"))
.billingMode(BillingMode.PROVISIONED)
.build();
globalTable.autoScaleWriteCapacity(EnableScalingProps.builder()
.minCapacity(1)
.maxCapacity(10)
.build()).scaleOnUtilization(UtilizationScalingProps.builder().targetUtilizationPercent(75).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.