Skip to content

RestoreTable

Source: src/AWS/Keyspaces/RestoreTable.ts

Runtime binding for cassandra:Restore (the Keyspaces RestoreTable operation).

Bind this operation to a source Table (which must have point-in-time recovery enabled) and a target Keyspace to get a callable that restores the source table’s continuous backup into a new table of the target keyspace, automatically injecting the source keyspace/table and target keyspace names. RestoreTable is asynchronous — the response returns the new table’s ARN while it provisions in the RESTORING state. Provide the RestoreTableHttp layer on the Function to satisfy the binding.

Restore to the Current Time

const restore = yield* AWS.Keyspaces.RestoreTable(sourceTable, keyspace);
const { restoredTableARN } = yield* restore({
targetTableName: "orders_restored",
});

Restore to a Point in Time

const { restoredTableARN } = yield* restore({
targetTableName: "orders_before_incident",
restoreTimestamp: new Date("2026-07-14T12:00:00Z"),
});