Skip to content

Instantly share code, notes, and snippets.

@Sonsuz
Last active November 7, 2022 18:36
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 Sonsuz/4045f0e1776d8fb7824f3287a75fd221 to your computer and use it in GitHub Desktop.
Save Sonsuz/4045f0e1776d8fb7824f3287a75fd221 to your computer and use it in GitHub Desktop.
lambda function for my simple web application project
import json
def lambda_handler(event, context):
name = event['firstname'] +' '+ event['lastname']
return {
'statusCode': 200,
'body': json.dumps('Hello from Lambda, ' + name)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment