Function createContext

  • Create a context object, with layouts and access patterns for storing and retrieving data.

    Parameters

    • dynamodb: DynamoDBClient

      dynamodb instance, initialised with correct access key and region

    • collections: Collection[]

      a list of collection definitions to use with this context

    Returns Context

    a context object

    Throws

    when there is a configuration issue in the given collections

Generated using TypeDoc