1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
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"
Contenus pertinents
- demandé il y a 2 ans
- demandé il y a un an
- Réponse acceptéedemandé il y a 2 ans
- demandé il y a 2 ans
- AWS OFFICIELA mis à jour il y a un an
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a 2 ans
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?