콘텐츠로 이동
한국어

DynamoDbTableSchema

이 콘텐츠는 아직 번역되지 않았습니다.

DynamoDbTableSchema = object

Defined in: src/persistence/journals/DynamoDbStore.ts:9

A table’s key schema, in the shape CreateTable wants.

readonly partitionKey: string

Defined in: src/persistence/journals/DynamoDbStore.ts:12

Partition key — always the persistence id in these stores.


readonly optional sortKey?: object

Defined in: src/persistence/journals/DynamoDbStore.ts:14

Sort key, for the tables that hold many items per persistence id.

readonly name: string

readonly type: "N" | "S"


readonly tableName: string

Defined in: src/persistence/journals/DynamoDbStore.ts:10