Is it possible for S3 notifications to SQS to fail?

南笙酒味 提交于 2019-12-06 01:38:14

As suggested by Michael in the comment, the problem was that the bucket only listened to s3:ObjectCreated:Put. What was happening is that all other files but the first one were uploaded using multipart which was not triggering any message creation.

I modified the bucket to trigger messages on s3:ObjectCreated:* and it now works as expected.

Inspired by RaySF answer, I've fixed the issue directly in the AWS console.

  1. Sign in AWS console
  2. S3
  3. Find your bucket and click on it
  4. Properties tab
  5. Events
  6. Edit the related event
  7. Change from PUT to All object create events

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!