let's say every time a user uploads files to an s3 bucket, you want to move and organize those files in a certain way, meaning if they upload .js i put it inside the /javascript folder, if .txt to...
本文介绍了如何利用aws lambda和s3自动整理上传的文件。用户上传文件后,lambda函数会根据文件扩展名将其移动到相应的文件夹,例如.js文件放入/javascript文件夹,.txt文件放入/txt文件夹。文章详细阐述了架构、aws服务、go代码及实现过程,最终实现文件的自动分类和移动。