Options
All
  • Public
  • Public/Protected
  • All
Menu

Class LambdaHandler

Simulates environment of AWS Lambda. You can exeute your handler function by calling handle() with request object.

Hierarchy

  • LambdaHandler

Implements

  • Handler

Index

Constructors

Properties

Methods

Constructors

  • new LambdaHandler(handlerFunction: LambdaFunction): LambdaHandler

Properties

handlerFunction: LambdaFunction

Methods

  • handle(request: RequestEnvelope): Promise<any>
  • Simulates AWS Lambda environment and handle request by handlerFunction.

    Parameters

    • request: RequestEnvelope

      RequestEnvelope object you want to handle by handlerFunction you set.

    Returns Promise<any>

    Results to handle request.

Generated using TypeDoc