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)
回答済み 1年前