- Model Function

In order to author a Lambda function that uses libraries outside the base Python distribution, you’ll need to set up a local environment that defines the function and includes all of the dependencies. Once your function is defined, you can upload the function by creating a zip file of the local environment, uploading the resulting file to S3, and configuring a Lambda function from the file uploaded to S3.

Get hands-on with 1400+ tech skills courses.