Amazon S3 to Amazon Rekognition using Amazon EventBridge

Amazon S3 → AWS Lambda → Amazon Rekognition

Amazon S3 trigger to AWS Lambda for detecting labels in an image using Amazon Rekognition and Amazon EventBridge

This pattern demonstrates how to creates two S3 buckets (source and destination) which when uploaded with an object invokes a Lambda function through EventBridge and detects labels in an image using Amazon Rekognition.
Once a file is uploaded to an S3 bucket, it is listened by the EventBridge which further invokes the lambda function
The lambda function writes the output of the detected labels using Rekognition to the destination S3 bucket.

< 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/rekognition-s3-detectlabels-python

Deploy

sam deploy


Testing

See the GitHub repo for detailed testing instructions.

Cleanup

Delete the stack: cdk delete.

Created by:

Abilashkumar P C

Abilashkumar P C

Cloud Support Engineer II @ AWS