UNPKG

jaws-framework

Version:

JAWS is the serverless framework powered by Amazon Web Services.

14 lines (11 loc) 268 B
/** * AWS Module: Action: Modularized Code */ // Export For Lambda Handler module.exports.run = function(event, context, cb) { return cb(null, action()); }; // Your Code var action = function() { return {message: 'Your JAWS lambda executed successfully!'}; };