1
votes

I have a CloudWatch which has to capture all the PutObject events and process based on the filetype by logging the event into loggroup. based on the filetype a particular lambda function is triggered process the file. I am able to trigger lambda as expected only when file size is less than 15MB. When file size is more than 15MB neither cloudwatch event is logging the information nor lambda is triggering(I am using S3 trigger in Lambda function).

1
could you please share your s3 bucket configuration? S3 event triggers, are triggered even with 0kb size s3 objects so i imagine your issue is related to your configuration. If you can share more details maybe i can help further :) - Xanthos Symeou

1 Answers

1
votes

This is possibly because the object was uploaded via Amazon S3 Multi-part Upload.

In the S3 Event configuration, also activate Multipart upload completed and the Lambda function should be triggered when the file is uploaded via multi-part upload.