---
title: "Discussion on \"Create a Python Lambda Function in AWS in 5 minutes\" | Hashnode"
description: "Discussion on \"Create a Python Lambda Function in AWS in 5 minutes\". Create a new Python file called app.py\nInclude a handler function that will be what our Lambda function returns \n\ndef handler(event, context):\n    return \"Greetings %s from %s!\" % (event[\"name\"], event[\"city\"])\n\nIn this case our function will take a ..."
url: "https://hashnode.com/posts/create-a-python-lambda-function-in-aws-in-5-minutes/6035ad7d0dde8f7722d1ebda"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Create a Python Lambda Function in AWS in 5 minutes](https://blog.ajbothe.com/create-a-python-lambda-function-in-aws-in-5-minutes?utm_source=hashnode&utm_medium=feed)

Create a new Python file called app.py Include a handler function that will be what our Lambda function returns def handler(event, context): return "Greetings %s from %s!" % (event\["name"\], event\["city"\]) In this case our function will take a ...

Feb 24, 2021 · 3 min read · blog.ajbothe.com  
Updated Feb 28, 2021  
Read the article

-   [#python3](https://hashnode.com/tag/python3)
-   [#python](https://hashnode.com/tag/python)
-   [#aws-lambda](https://hashnode.com/tag/aws-lambda)

## Written by

[AJ](https://hashnode.com/@ajbot)

@ajbot · Cincinnati, USA

  
[View profile](https://hashnode.com/@ajbot)

New findings daily...

I'm a technical advocate who it looking for new challenges. I will use this blog to post new challenges, find solutions and stay technically active.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
