Amazon S3 to AWS Lambda to Amazon Rekognition

Amazon S3 → AWS Lambda → Amazon Rekognition

Use Amazon Rekognition to index a face in a Rekognition faces collection.

This project demonstrates how to index a face in Amazon Rekognition faces collection.
Once a image with a headshot is uploaded into S3 bucket, a Lambda function is triggered to index the face in the image in a Amazon Rekognition faces collection.
The image name is used as the ExternalImageId within the faces collection. This is implemented with CDK (Typescript)

< Back to all patterns

GitHub icon Download this pattern (.zip)

GitHub icon View this pattern on GitHub


Clone repo

git clone https://github.com/aws-samples/serverless-patterns/cd serverless-patterns/s3-lambda-rekognition-cdk

Deploy

cdk deploy --all'


Testing

See the GitHub repo for detailed testing instructions.

Cleanup

Delete the stack: cdk destory --all.

Created by:

Pubudu Jayawardana

Pubudu Jayawardana

AWS Community Builder in Serverless category. Serverless advocate and enthusiast.

Follow on LinkedIn