Sends image from s3 to Amazon Rekognition for Image Processing.
Based on and inspired by smart-security-camera.
- index.js - source code.
Using the AWS IAM Console create an IAM Role containing the "AmazonRekognitionReadOnlyAccess", "AmazonS3ReadOnlyAccess" and "AWSLambdaBasicExecutionRole" permissions.
Using the AWS Lambda Console, create a new Lambda Function called rekognition-image-assessment and copy the code from index.js directly into the inline code editor.
Ensure that the function uses your newly created IAM Role.
Tip: Use the "blank function" blueprint and skip the "configure triggers" prompt when creating the function.