title: Can I create with DynamoDB multiple tables with secondary index concurrencly?
body: <p>I am confused by the API documentation of CreateTable from DynamoDB. I need to create multiple tables with a secondary index. From the API: <a href="https://sdk.amazonaws.com/java/api/latest/software/amazon/awssdk/services/dynamodb/DynamoDbClient.html#createTable-software.amazon.awssdk.services.dynamodb.model.CreateTableRequest-" rel="nofollow noreferrer">https://sdk.amazonaws.com/java/api/latest/software/amazon/awssdk/services/dynamodb/DynamoDbClient.html#createTable-software.amazon.awssdk.services.dynamodb.model.CreateTableRequest-</a></p>
  <blockquote>
  <p>If you want to create multiple tables with secondary indexes on them, you must create the tables sequentially. <strong>Only one</strong> table with secondary indexes can be in the CREATING state at any given time.</p>
  </blockquote>
  <p>and</p>
  <blockquote>
  <p>Up to 500 simultaneous table operations are allowed per account. These operations include CreateTable, UpdateTable, DeleteTable, UpdateTimeToLive, RestoreTableFromBackup, and RestoreTableToPointInTime.</p>
  <p>The only exception is when you are creating a table with one or more secondary indexes. You can have up to <strong>250</strong> such requests running at a time;</p>
  </blockquote>
  <ul>
  <li><p>Can I create now only one table with a secondary index or 250 at the same time?</p>
  </li>
  <li><p>If I create multiple tables sequential without waiting on active state is this already concurrency creation?</p>
  </li>
  <li><p>Must I wait on the active state for every table if I create multiple tables with secondary indexes?</p>
  </li>
  </ul>