Skip to content

Instantly share code, notes, and snippets.

@lahaxearnaud
Created November 24, 2018 10:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lahaxearnaud/86bb0f3a7c0bd2c4be9cb8534b93e18f to your computer and use it in GitHub Desktop.
Save lahaxearnaud/86bb0f3a7c0bd2c4be9cb8534b93e18f to your computer and use it in GitHub Desktop.
exports.handler = async (event) => {
console.log("value2 = " + event.name);
var text = event.name || "from Lambda";
const response = {
statusCode: 200,
body: JSON.stringify('Hello ' + text),
};
return response;
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment