Sha256: 05b6b879217b8a4de1b71c7525581ccc78b8577a5af2e185e09c798b02143762

Contents?: true

Size: 828 Bytes

Versions: 53

Compression:

Stored size: 828 Bytes

Contents

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

53 entries across 53 versions & 3 rubygems

Version Path
awspec-1.15.1 lib/awspec/stub/dynamodb_table.rb
awspec-1.15.0 lib/awspec/stub/dynamodb_table.rb
awspec-1.14.1 lib/awspec/stub/dynamodb_table.rb
awspec-1.14.0 lib/awspec/stub/dynamodb_table.rb
awspec-1.13.0 lib/awspec/stub/dynamodb_table.rb
awspec-1.12.7 lib/awspec/stub/dynamodb_table.rb
awspec-1.12.6 lib/awspec/stub/dynamodb_table.rb
awspec-1.12.5 lib/awspec/stub/dynamodb_table.rb
awspec-1.12.4 lib/awspec/stub/dynamodb_table.rb
awspec-1.12.3 lib/awspec/stub/dynamodb_table.rb
awspec-1.12.2 lib/awspec/stub/dynamodb_table.rb
awspec-1.12.1 lib/awspec/stub/dynamodb_table.rb
awspec-1.12.0 lib/awspec/stub/dynamodb_table.rb