Interface CfnTable.OnDemandThroughputProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTable.OnDemandThroughputProperty.Jsii$Proxy
- Enclosing class:
CfnTable
@Stability(Stable)
public static interface CfnTable.OnDemandThroughputProperty
extends software.amazon.jsii.JsiiSerializable
Sets the maximum number of read and write units for the specified on-demand table.
If you use this property, you must specify MaxReadRequestUnits
, MaxWriteRequestUnits
, or both.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.dynamodb.*; OnDemandThroughputProperty onDemandThroughputProperty = OnDemandThroughputProperty.builder() .maxReadRequestUnits(123) .maxWriteRequestUnits(123) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnTable.OnDemandThroughputProperty
static final class
An implementation forCfnTable.OnDemandThroughputProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getMaxReadRequestUnits
Maximum number of read request units for the specified table.To specify a maximum
OnDemandThroughput
on your table, set the value ofMaxReadRequestUnits
as greater than or equal to 1. To remove the maximumOnDemandThroughput
that is currently set on your table, set the value ofMaxReadRequestUnits
to -1.- See Also:
-
getMaxWriteRequestUnits
Maximum number of write request units for the specified table.To specify a maximum
OnDemandThroughput
on your table, set the value ofMaxWriteRequestUnits
as greater than or equal to 1. To remove the maximumOnDemandThroughput
that is currently set on your table, set the value ofMaxWriteRequestUnits
to -1.- See Also:
-
builder
-