Skip to content

ml27299/lambda-source

Repository files navigation

Introduction

AWS Lambda functions are great, but many times developers have many triggers on a single lambda function, this package aims to make handling the events from the triggers a lot easier, as well as knowing how to respond when the lambda is done executing

supports >=[email protected]

Getting Started

import LambdaSource from "lambda-source";
exports.handler = (event) =>{
    const source = new LambdaSource(event);
    source.getRecords(); //gets passed in input data from source;
    return source.respond(200); //responds with the correct format depending on the event
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published