Using Python in AWS Lambda

Hi, I’m quite new to the programming world so please forgive me for asking a really noob question, but here goes:

I’m wondering if it’s possible to use Python in my lambda functions. I noticed that during the tutorial the Lambda functions appeared to be automatically generated from somewhere (I’m guessing the Serverless framework handled that?). Is there anything I need to take into consideration before swapping out that code with Python functions instead?

Secondly, am I right in assuming that the Serverless framework automatically generated the code that was deployed to Lambda? If so, is it possible to choose Python as an option for the generated code?

Yes you can use Python in your code, just configure it in the serverless.ylm, actually, AWS Lambda support Python and others programming language

1 Like