The SAM template deploys a Lambda function, an SQS queue, and two S3 buckets. When JPG images are stored in the first (source) S3 bucket, this triggers the Lambda function. The function uses Amazon Rekoginition to find faces in the photos and then uses GraphicsMagick to blur the part of the image containing the faces. The result is stored in the second (destination) S3 bucket.
I am a self-confessed serverless geek and enjoy helping developers build faster with serverless! I have been software developer and product manager before becoming a Developer Advocate. Ask me anything!