Does Amazon S3's HTTP Uploads feature support web-hook style callbacks?

无人久伴 提交于 2019-11-30 01:36:36

They just recently announced AWS Lambda which lets you run code in response to events, with S3 uploads being one of the supported events.

Amazon can publish a notification to SNS or SQS when an object has been created in your specified S3 bucket.

http://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html

Don't know much about S3, but try this post on their dev forums.

Keshi

There is no support from Amazon regarding this as yet but we can get around this with other tools like s3cmd etc, which allow us to write cronjobs to notify us of any change in the keys on S3. So if a new key is created (notified via timestamp) we could have it send a GET request to our server endpoint listening for updates from S3 with the associated metadata.

We could use GET or POST here as the data would be very minimal I think. Probably a form data with POST should do.

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