Class: Dyna::DSL::DynamoDB::Table::GlobalSecondaryIndex

Inherits:
LocalSecondaryIndex show all
Defined in:
lib/dyna/dsl/table.rb

Instance Attribute Summary

Attributes inherited from LocalSecondaryIndex

#result

Instance Method Summary collapse

Methods inherited from LocalSecondaryIndex

#initialize, #key_schema, #projection

Constructor Details

This class inherits a constructor from Dyna::DSL::DynamoDB::Table::LocalSecondaryIndex

Instance Method Details

#provisioned_throughput(read_capacity_units:, write_capacity_units:) ⇒ Object



144
145
146
147
148
149
# File 'lib/dyna/dsl/table.rb', line 144

def provisioned_throughput(read_capacity_units:, write_capacity_units:)
  @result.provisioned_throughput = {
    read_capacity_units: read_capacity_units,
    write_capacity_units: write_capacity_units,
  }
end