Class: LambdaEvent

LambdaEvent

new LambdaEvent()

This default base class allows all extending events to inherit common functionality.
Source:

Members

cb :function

The response object allowing any extending class to respond to Cloudformation.
Type:
  • function
Source:

context :Object

The raw context object received by Lambda
Type:
  • Object
Source:

event :Object

The raw event received by Lambda
Type:
  • Object
Source:

Methods

(static) {Function} wrap(Req, …params)

A Class-wrapper, allowing any class to handle and process events in a similar manner, without making assumptions on how the function will be executed.
Parameters:
Name Type Attributes Description
Req Class the class that will handle the lambda event
params * <repeatable>
Any accompanying params that will be passed into the extending classes perform method.
Source: