Provision Table
A 4-step recipe with Amazon Keyspaces. We can help you get access.
Recipe · 4 steps
Provision Table
with Amazon Keyspaces
Create a keyspace and table, then wait for the table to become ACTIVE.
- Create the keyspace that will hold the new table.
- Add the table to the newly created keyspace using the supplied schema definition.
- Poll the table until the service reports its status as ACTIVE. While the status is still CREATING the step loops back on itself; once ACTIVE the flow proceeds to read the final table state.
- Read the final table state once it is ACTIVE to capture the ARN and creation timestamp.
What you'll need to have ready
- keyspaceName: The name of the keyspace to create (e.g. my_keyspace).
- tableName: The name of the table to create in the keyspace.
- schemaDefinition: The Cassandra schema definition for the table, with allColumns and partitionKeys as defined by the Amazon Keyspaces CreateTable request.
For your developer
Arazzo workflow amazon-keyspaces:provision-table, 4 operations: CreateKeyspace → CreateTable → GetTable → GetTable. Specs on APIs.io.