1 Answer
- Newest
- Most votes
- Most comments
0
When the client uploads the image to S3 add a metadata to it which contains some user information. A sample of how to add a metadata is demonstrated in the link below https://docs.aws.amazon.com/sdk-for-ruby/v3/developer-guide/s3-example-upload-bucket-item-with-metadata.html
Now in your Lambda you can read the metadata object using s3.head_object(Bucket=bucket, Key=key)
answered a year ago
Relevant content
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 8 months ago