AWSDynamoDBOnDemandThroughput

Objective-C

@interface AWSDynamoDBOnDemandThroughput

Swift

class AWSDynamoDBOnDemandThroughput

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.

  • 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.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable maxReadRequestUnits;

    Swift

    var maxReadRequestUnits: NSNumber? { get set }
  • 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.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable maxWriteRequestUnits;

    Swift

    var maxWriteRequestUnits: NSNumber? { get set }