Sha256: 6d3fee7a8510e79b9d9aa6404bd9a65ed6ee187987af93f035107fbc71f104b0

Contents?: true

Size: 859 Bytes

Versions: 13

Compression:

Stored size: 859 Bytes

Contents

# frozen_string_literal: true

Aws.config[:dynamodb] = {
  stub_responses: {
    describe_table: {
      table: {
        table_name: 'my-dynamodb-table',
        table_status: 'ACTIVE',
        provisioned_throughput: {
          read_capacity_units: 1,
          write_capacity_units: 1
        },
        attribute_definitions: [
          {
            attribute_name: 'my-dynamodb-table-attribute1',
            attribute_type: 'S'
          },
          {
            attribute_name: 'my-dynamodb-table-attribute2',
            attribute_type: 'N'
          }
        ],
        key_schema: [
          {
            attribute_name: 'my-dynamodb-table-key_schema1',
            key_type: 'HASH'
          },
          {
            attribute_name: 'my-dynamodb-table-key_schema2',
            key_type: 'RANGE'
          }
        ]
      }
    }
  }
}

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
awspec-1.31.0 lib/awspec/stub/dynamodb_table.rb
awspec-1.30.0 lib/awspec/stub/dynamodb_table.rb
awspec-1.29.3 lib/awspec/stub/dynamodb_table.rb
awspec-1.29.2 lib/awspec/stub/dynamodb_table.rb
awspec-1.29.1 lib/awspec/stub/dynamodb_table.rb
awspec-1.29.0 lib/awspec/stub/dynamodb_table.rb
awspec-1.28.2 lib/awspec/stub/dynamodb_table.rb
awspec-1.28.1 lib/awspec/stub/dynamodb_table.rb
awspec-1.28.0 lib/awspec/stub/dynamodb_table.rb
awspec-1.27.1 lib/awspec/stub/dynamodb_table.rb
awspec-1.27.0 lib/awspec/stub/dynamodb_table.rb
awspec-1.26.0 lib/awspec/stub/dynamodb_table.rb
awspec-1.25.2 lib/awspec/stub/dynamodb_table.rb