nc-lambda-service
A simple wrapper over AWS Lambda.
Usage
This library assumes that you deployed Lambda Functions through Serverless.
'use strict'; const NcLambda = ;const lambdaService = ; lambdaService; const userService = ncLambda; const params = key: 'value'; userService ;
- the Lambda function is "service-user-dev-create" and the service is a Serverless Service.
- the NCLambda is Singleton. This means you configure it once in a global config and when requiring it in other sub modules it's still configured. It uses nc-singleton.
Testing will follow.
That's it.