Posted On: Aug 1, 2019
Starting today, you can use the Python programming language to develop your functions in Lambda@Edge, in addition to currently supported Node.js. This gives you the flexibility of opting for the programming language of your choice as you author your functions.
To get started, simply upload your function code by using the AWS CLI or AWS Lambda console, select the Python 3.7 runtime, and associate an Amazon CloudFront event. Lambda@Edge functions, triggered by CloudFront events, extend your custom code across AWS locations worldwide, allowing you to run application logic closer to your end users to improve responsiveness.
To learn more about Lambda@Edge, visit the product page. For more information on Lambda’s Python programming model, see the documentation. You can also use these example functions to quickly deploy and test Lambda@Edge functions that you author in Python.