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
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnTable.OnDemandThroughputPropertystatic final classAn 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
OnDemandThroughputon your table, set the value ofMaxReadRequestUnitsas greater than or equal to 1. To remove the maximumOnDemandThroughputthat is currently set on your table, set the value ofMaxReadRequestUnitsto -1.- See Also:
-
getMaxWriteRequestUnits
Maximum number of write request units for the specified table.To specify a maximum
OnDemandThroughputon your table, set the value ofMaxWriteRequestUnitsas greater than or equal to 1. To remove the maximumOnDemandThroughputthat is currently set on your table, set the value ofMaxWriteRequestUnitsto -1.- See Also:
-
builder
-