TableOnDemandThroughput

data class TableOnDemandThroughput(val maxReadRequestUnits: Int? = null, val maxWriteRequestUnits: Int? = null)

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.

Constructors

Link copied to clipboard
constructor(maxReadRequestUnits: Int? = null, maxWriteRequestUnits: Int? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Maximum number of read request units for the specified table. To specify a maximum `OnDemandThroughput` on your table, set the value of `MaxReadRequestUnits` as greater than or equal to 1. To remove the maximum `OnDemandThroughput` that is currently set on your table, set the value of `MaxReadRequestUnits` to -1.

Link copied to clipboard

Maximum number of write request units for the specified table. To specify a maximum `OnDemandThroughput` on your table, set the value of `MaxWriteRequestUnits` as greater than or equal to 1. To remove the maximum `OnDemandThroughput` that is currently set on your table, set the value of `MaxWriteRequestUnits` to -1.