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"
관련 콘텐츠
- AWS 공식업데이트됨 7달 전
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?