Class: Aws::DynamoDB::Types::ProvisionedThroughput

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

Overview

Represents the provisioned throughput settings for the specified global secondary index. You must use ProvisionedThroughput or OnDemandThroughput based on your table’s capacity mode.

For current minimum and maximum provisioned throughput values, see

Service, Account, and Table Quotas][1

in the *Amazon DynamoDB

Developer Guide*.

[1]: docs.aws.amazon.com/amazondynamodb/latest/developerguide/Limits.html

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#read_capacity_unitsInteger

The maximum number of strongly consistent reads consumed per second before DynamoDB returns a ThrottlingException. For more information, see [Specifying Read and Write Requirements] in the *Amazon DynamoDB Developer Guide*.

If read/write capacity mode is PAY_PER_REQUEST the value is set to 0.

[1]: docs.aws.amazon.com/amazondynamodb/latest/developerguide/ProvisionedThroughput.html

Returns:

  • (Integer)


6145
6146
6147
6148
6149
6150
# File 'lib/aws-sdk-dynamodb/types.rb', line 6145

class ProvisionedThroughput < Struct.new(
  :read_capacity_units,
  :write_capacity_units)
  SENSITIVE = []
  include Aws::Structure
end

#write_capacity_unitsInteger

The maximum number of writes consumed per second before DynamoDB returns a ThrottlingException. For more information, see

Specifying Read and Write Requirements][1

in the *Amazon DynamoDB

Developer Guide*.

If read/write capacity mode is PAY_PER_REQUEST the value is set to 0.

[1]: docs.aws.amazon.com/amazondynamodb/latest/developerguide/ProvisionedThroughput.html

Returns:

  • (Integer)


6145
6146
6147
6148
6149
6150
# File 'lib/aws-sdk-dynamodb/types.rb', line 6145

class ProvisionedThroughput < Struct.new(
  :read_capacity_units,
  :write_capacity_units)
  SENSITIVE = []
  include Aws::Structure
end