Created
February 12, 2019 02:56
-
-
Save ox1111/54af165eab3e3ffec1e8e9da1b09e1e2 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
console.log("test for lambda") | |
exports.handler = async( event ) => { | |
console.log("async ..."); | |
var name = event.name || 'Anonymous'; | |
console.log("name = " + name ); | |
const response = { | |
statusCode: 200, | |
body: JSON.stringify('Hello from Lambda!'), | |
}; | |
return response; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment