简体   繁体   中英

AWS S3 notification

I have enabled the S3 notification create:* event for SNS sending to my email from AWS CLI in my windows servers. However, there are many notification emails received from the SNS after I copied 10000+ local files such as xml, html, jpg to the S3. Because of creating the folder or the files, it is going to send the event with per creating file request to SNS.

I search the topic discussed in Edit event notification prefix and suffix and I think it just partially works on folder and file.

How can just receive one notification email that indicates it's starting the copy job? Thanks for your help.

How can just receive one notification email that indicates it's starting the copy job?

You can't . This is not how S3 notifications work. You would have to develop custom solution to that. Maybe instead of SNS, have a lambda function to get triggered. The function would somehow verify if this is the first file being uploaded, and send out email only for that file.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM