@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:38.066Z") @Stability(value=Stable) 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()
Maximum capacity to scale to.
|
Number |
getMinCapacity()
Minimum capacity to scale to.
|
@Stability(value=Stable) @NotNull Number getMaxCapacity()
@Stability(value=Stable) @NotNull Number getMinCapacity()
@Stability(value=Stable) static EnableScalingProps.Builder builder()
EnableScalingProps.Builder of EnableScalingPropsCopyright © 2022. All rights reserved.