Home > OS >  AWS S3 Event Notification for upload start
AWS S3 Event Notification for upload start

Time:10-04

I have tried setting up S3 event notifications via SNS topic & was able to successfully get event notifications when objects are created. However in my use case we have large file uploads from the apps that we don't control. These uploads take time. We want to get notified when upload starts (in progress) as well.

I was not able to find any event type that corresponds to upload start! For large files multipart uploads are used so we get "multipart upload complete" event but still we don't have a clue about when the upload started!

Is there any other way to detect the uploads (start) on AWS S3?

CodePudding user response:

You can create an Amazon CloudWatch Events rule that triggers on CreateMultiPartUpload and sends a message to an Amazon SNS topic:

From CreateMultipartUpload - Amazon Simple Storage Service:

This action initiates a multipart upload and returns an upload ID.

CloudWatch Events rule

  • Related