status-desktop/devuser_guide/assets/lambda/hi-from-lambda.js

12 lines
232 B
JavaScript
Raw Normal View History

2021-05-07 16:15:41 +00:00
exports.handler = (event, context, callback) => {
callback (null, {
statusCode: 200,
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
message: 'Hi from Lambda.',
}),
});
}