create_table
Create a new DynamoDB table with partition and optional sort keys. Choose on-demand or provisioned billing to store data or support new access patterns.
Instructions
Create a new DynamoDB table.
Creates a table with a partition key and optional sort key. Defaults to on-demand billing (PAY_PER_REQUEST). Use describe_table to monitor the table until it reaches ACTIVE status.
When to use:
To create a new table for storing data
When setting up a new access pattern
When NOT to use:
If the table already exists (check with list_tables or describe_table first)
Returns: JSON with table name, status, key schema, and billing mode.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |