Interface SingleTableDesign

Hierarchy

  • SingleTableDesign

Properties

globalIndexes?: GlobalSecondaryIndexProps[]

global secondary indexes

localIndexes?: LocalSecondaryIndexProps[]

local secondary indexes

primaryKey: {
    partitionKey: string;
    sortKey?: string;
}

structure of the primary key

Type declaration

  • partitionKey: string
  • Optional sortKey?: string
timeToLiveAttribute?: string

The name of TTL attribute.

Default

- TTL is disabled

Generated using TypeDoc