• Same configuration as createStandardSingleTableConfig but for multiple tables

    Parameters

    • tablesToEntityTypes: Record<string, string[]>

      Map of underlying Dynamo Table Names to the entities stored in each table

    • Optional defaultTableName: string

      Which table to use if an operation is performed on an entity not explicitly configured in tablesToEntityTypes. Default - no default table is used, and all entities must be explicitly configured.

    Returns MultiTableConfig

    Throws

    if defaultTableName isn't included in keys of tablesToEntityTypes

Generated using TypeDoc