how to write aws lambda function

Solutions on MaxInterview for how to write aws lambda function by the best coders in the world

showing results for - "how to write aws lambda function"
Fabio
07 May 2017
1exports.fn = (event, context, callback) => {
2    console.log(event);
3    const age = event.age;
4    callback(null, age * 2);
5};
6