Class StreamControllerAbstract

An abstract class to inherit to manage AWS DDB streams in an AWS Lambda function.

Hierarchy (view full)

Constructors

Properties

callback: any
event: any
logger: LambdaLogger = ...
records: any[]

Methods

  • Get the current log level for the current Lambda function's logger. Note: "FATAL" means that no log will be printed.

    Returns
        | "TRACE"
        | "DEBUG"
        | "INFO"
        | "WARN"
        | "ERROR"
        | "FATAL"

  • Set the log level for the current Lambda function's logger.

    Parameters

    • logLevel:
          | "TRACE"
          | "DEBUG"
          | "INFO"
          | "WARN"
          | "ERROR"
          | "FATAL"

    Returns void