Class: Aws::DynamoDB::Types::OnDemandThroughput

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/types.rb

Overview

Sets the maximum number of read and write units for the specified on-demand table. If you use this parameter, you must specify MaxReadRequestUnits, MaxWriteRequestUnits, or both.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#max_read_request_unitsInteger

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.

Returns:

  • (Integer)


5748
5749
5750
5751
5752
5753
# File 'gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/types.rb', line 5748

class OnDemandThroughput < Struct.new(
  :max_read_request_units,
  :max_write_request_units)
  SENSITIVE = []
  include Aws::Structure
end

#max_write_request_unitsInteger

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.

Returns:

  • (Integer)


5748
5749
5750
5751
5752
5753
# File 'gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/types.rb', line 5748

class OnDemandThroughput < Struct.new(
  :max_read_request_units,
  :max_write_request_units)
  SENSITIVE = []
  include Aws::Structure
end