Skip to content

DynamoTable

Core class that represents a DynamoDB table.

new DynamoTable(config): DynamoTable;

DynamoTableConfig

DynamoTable

get documentClient(): DynamoDBDocumentClient;

The DynamoDB Document Client instance used for operations.

DynamoDBDocumentClient


get globalSecondaryIndexKeyNames(): NamedGlobalSecondaryIndexKeyNames;

The key names for the global secondary indexes defined on the table.

NamedGlobalSecondaryIndexKeyNames


get localSecondaryIndexKeyNames(): NamedLocalSecondaryIndexKeyNames;

The key names for the local secondary indexes defined on the table.

NamedLocalSecondaryIndexKeyNames


get partitionKeyName(): string;

The name of the partition key for the table.

string


get sortKeyName(): string | null;

The name of the sort key for the table, or null if the table does not have a sort key (null would indicate a “simple” primary key).

string | null


get tableName(): string;

The name of the DynamoDB table.

string