An AWS Lambda that monitors images of notable people in an S3 bucket, and crops any newly added images around the face(s) using the Cloudinary API. The cropped images are saved in another S3 bucket.
In addition to watching for new images, this function also watches images deleted in the source bucket and deletes the corresponding images from the target bucket.