An AWS Lambda function that automatically generates image thumbnails on S3 upload events using Pillow.