Skip to content

Instantly share code, notes, and snippets.

@juliafmorgado
Last active March 1, 2024 13:49
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 juliafmorgado/7e1275b8b00d1dd70c62db47efeec418 to your computer and use it in GitHub Desktop.
Save juliafmorgado/7e1275b8b00d1dd70c62db47efeec418 to your computer and use it in GitHub Desktop.
import json
def lambda_handler(event, context):
name = event['firstname'] +' '+ event['lastname'] +' '+ event['phone_number']
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