1개 답변
- 최신
- 최다 투표
- 가장 많은 댓글
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)
답변함 일 년 전