Files
lunchrun-serverless/handler.js
benjaminramey d5aa1e9245 Serverless init
2019-11-21 11:34:05 -06:00

19 lines
442 B
JavaScript

'use strict';
module.exports.hello = async event => {
return {
statusCode: 200,
body: JSON.stringify(
{
message: 'Go Serverless v1.0! Your function executed successfully!',
input: event,
},
null,
2
),
};
// Use this code if you don't use the http event with the LAMBDA-PROXY integration
// return { message: 'Go Serverless v1.0! Your function executed successfully!', event };
};