Created
November 24, 2018 10:30
-
-
Save lahaxearnaud/86bb0f3a7c0bd2c4be9cb8534b93e18f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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