title: How to create a DynamoDb with hash key of two columns and a column as a range key
body: <p>I want to create a dynamodb table using two columns such as artist and song as HashKey and there is one column 'onYEAR' as Range Key. How can i do this, can anyone suggest me the keySchema.</p>
  <pre class="lang-yaml prettyprint-override"><code> KeySchema:
          - AttributeName: artist
            KeyType: HASH
          - AttributeName: song
              KeyType: HASH
          - AttributeName: onYEAR
              KeyType: RANGE
  </code></pre>