Sha256: 1ecd1cc73b5a5741562fa567d2649ccca03ec400584c72d3645f8e4f1d833f68
Contents?: true
Size: 525 Bytes
Versions: 24
Compression:
Stored size: 525 Bytes
Contents
require 'aws-record' module ModelTableConfig def self.config Aws::Record::TableConfig.define do |t| t.model_class <%= class_name %> t.read_capacity_units <%= primary_read_units %> t.write_capacity_units <%= primary_write_units %> <%- gsis.each do |index| %> t.global_secondary_index(:<%= index.name %>) do |i| i.read_capacity_units <%= gsi_rw_units[index.name][0] %> i.write_capacity_units <%= gsi_rw_units[index.name][1] %> end <%- end -%> end end end
Version data entries
24 entries across 24 versions & 2 rubygems