|
| 1 | +{ |
| 2 | + "title": "S3 to Rekognition using EventBridge", |
| 3 | + "description": "SAM template for Amazon S3 trigger to AWS Lambda for detecting labels in an image using Amazon Rekognition and Amazon EventBridge", |
| 4 | + "language": "Python", |
| 5 | + "level": "200", |
| 6 | + "framework": "SAM", |
| 7 | + "introBox": { |
| 8 | + "headline": "How it works", |
| 9 | + "text": [ |
| 10 | + "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.", |
| 11 | + "Once a file is uploaded to an S3 bucket, it is listened by the EventBridge which further invokes the lambda function", |
| 12 | + "The lambda function writes the output of the detected labels using Rekognition to the destination S3 bucket." |
| 13 | + ] |
| 14 | + }, |
| 15 | + "gitHub": { |
| 16 | + "template": { |
| 17 | + "repoURL": "https://github.com/aws-samples/serverless-patterns/tree/main/rekognition-s3-detectlabels-python", |
| 18 | + "templateURL": "serverless-patterns/rekognition-s3-detectlabels-python", |
| 19 | + "projectFolder": "rekognition-s3-detectlabels-python", |
| 20 | + "templateFile": "template.yaml" |
| 21 | + } |
| 22 | + }, |
| 23 | + "resources": { |
| 24 | + "bullets": [ |
| 25 | + { |
| 26 | + "text": "Detecting Labels using Rekognition", |
| 27 | + "link": "https://docs.aws.amazon.com/rekognition/latest/dg/labels-detect-labels-image.html" |
| 28 | + }, |
| 29 | + { |
| 30 | + "text": "Amazon Rekognition", |
| 31 | + "link": "https://aws.amazon.com/rekognition/" |
| 32 | + } |
| 33 | + ] |
| 34 | + }, |
| 35 | + "deploy": { |
| 36 | + "text": ["sam deploy"] |
| 37 | + }, |
| 38 | + "testing": { |
| 39 | + "text": ["See the GitHub repo for detailed testing instructions."] |
| 40 | + }, |
| 41 | + "cleanup": { |
| 42 | + "text": ["Delete the stack: <code>cdk delete</code>."] |
| 43 | + }, |
| 44 | + "authors": [ |
| 45 | + { |
| 46 | + "name": "Abilashkumar P C", |
| 47 | + "image": "https://drive.google.com/file/d/1bxOh_WBw8J_xEqvT-qRezH8WXqSBPI24/view?usp=sharing", |
| 48 | + "bio": "Sr. Cloud Support Engineer @ AWS", |
| 49 | + "linkedin": "abilashkumar-p-c" |
| 50 | + } |
| 51 | + ], |
| 52 | + "patternArch": { |
| 53 | + "icon1": { |
| 54 | + "x": 20, |
| 55 | + "y": 50, |
| 56 | + "service": "s3", |
| 57 | + "label": "Amazon S3" |
| 58 | + }, |
| 59 | + "icon2": { |
| 60 | + "x": 50, |
| 61 | + "y": 50, |
| 62 | + "service": "lambda", |
| 63 | + "label": "AWS Lambda" |
| 64 | + }, |
| 65 | + "icon3": { |
| 66 | + "x": 80, |
| 67 | + "y": 50, |
| 68 | + "service": "rekognition", |
| 69 | + "label": "Amazon Rekognition" |
| 70 | + }, |
| 71 | + "line1": { |
| 72 | + "from": "icon1", |
| 73 | + "to": "icon2", |
| 74 | + "label": "" |
| 75 | + }, |
| 76 | + "line2": { |
| 77 | + "from": "icon2", |
| 78 | + "to": "icon3", |
| 79 | + "label": "" |
| 80 | + } |
| 81 | + } |
| 82 | +} |
0 commit comments