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.25.1 lib/awspec/stub/dynamodb_table.rb
awspec-1.25.0 lib/awspec/stub/dynamodb_table.rb
awspec-1.24.4 lib/awspec/stub/dynamodb_table.rb
awspec-1.24.3 lib/awspec/stub/dynamodb_table.rb
awspec-1.24.2 lib/awspec/stub/dynamodb_table.rb
awspec-1.24.1 lib/awspec/stub/dynamodb_table.rb
awspec-1.24.0 lib/awspec/stub/dynamodb_table.rb
awspec-1.23.0 lib/awspec/stub/dynamodb_table.rb
awspec-1.22.1 lib/awspec/stub/dynamodb_table.rb
awspec-1.22.0 lib/awspec/stub/dynamodb_table.rb
awspec-1.21.1 lib/awspec/stub/dynamodb_table.rb
awspec-1.21.0 lib/awspec/stub/dynamodb_table.rb
awspec-1.20.0 lib/awspec/stub/dynamodb_table.rb
awspec-1.19.2 lib/awspec/stub/dynamodb_table.rb
awspec-1.19.1 lib/awspec/stub/dynamodb_table.rb
awspec-1.19.0 lib/awspec/stub/dynamodb_table.rb
cthiesfork-awspec-1.2.4 lib/awspec/stub/dynamodb_table.rb
awspec-api_gateway_extended-1.2.4 lib/awspec/stub/dynamodb_table.rb
awspec-api_gateway_extended-1.2.3 lib/awspec/stub/dynamodb_table.rb
awspec-1.18.6 lib/awspec/stub/dynamodb_table.rb