1 個回答
- 最新
- 最多得票
- 最多評論
0
Expanding on the comment by @mike, your small files would be uploaded in one piece whereas large ones (over 5MB) would be multi-part uploads that are different API calls. So depending how you defined your trigger conditions you could be picking up one but not the other.
I just used the web-interface to set it up. There is no option to define any wildcards. https://paste.pics/FRKFU
When looking at the trigger details (within the lambda function's trigger configuration) it just says: "Event type: ObjectCreated"
相關內容
- 已提問 6 個月前
- AWS 官方已更新 7 個月前
- AWS 官方已更新 9 個月前
- AWS 官方已更新 3 個月前
Is the event you're listening for "s3:ObjectCreated:*", specifically with the wildcard on the end?
I just used the web-interface to set it up. There is no option to define any wildcards. https://paste.pics/FRKFU
When looking at the trigger details (within the lambda function's trigger configuration) it just says: "Event type: ObjectCreated"
For the sake of completeness I added a second trigger for the Multipart Upload (see screenshot). As assumed there was no change in behavior: https://paste.pics/FRKRU As stated I am using an AWS KMS managed customer master key (SSE-KMS) on the bucket and for the upload
Does the lambda function need the "AmazonS3ReadOnlyAccess" Policy to allow invocation via S3 multipart upload trigger?