[英]Is there a Lambda trigger that will push/copy files from S3 bucket to the SFTP server?
我正在寻找一种设置Lambda触发器的方法,其中,如果将任何文件上传到S3存储桶中,则触发器将把文件推送/复制到SFTP服务器。
You have to use the following algorithm: 您必须使用以下算法:
Then you have to set a trigger (a left pane). 然后,您必须设置一个触发器(左窗格)。 If you want to trigger your lambda by s3 bucket then click on s3. 如果要通过s3存储桶触发lambda,请单击s3。
Then you have to configure your trigger (choose your bucket and trigger action). 然后,您必须配置触发器(选择存储桶和触发器操作)。 After you complete all of this steps it's a time to write a handler file. 完成所有这些步骤之后,就该编写处理程序文件了。
Do not forget that every single trigger has to be in the same region as lambda. 不要忘记,每个触发器都必须与lambda处于同一区域。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.