amazon-s3 - Can I "link" my Lambda's temp directory to S3 bucket?
问题描述
I am currently using FFMPEG to generate files in a lambda. Unfortunately the output options are pretty limited in terms of "to disk" or SFTP. I am trying to avoid making an FTP server for this.
Is there any way to listen to writes onto the /tmp
dir and forward them over to an S3 file instead? If there's no AWS feature for swapping out what counts as the temporary dir, I am thinking I might be able to split the output file into chunks and "listen" for each chunk completing in some way by "watching" the folder.
解决方案
不,这是不可能的。
一个 AWS Lambda 函数在/tmp/
. 与 Amazon S3 的任何通信都需要通过 Lambda 函数中的代码完成。
推荐阅读
- javascript - 联系人页面中的 Outlook 加载项
- android - 应用程序包的 FCM 目标是如何在 Composer 中的控制台而不是在 API 中工作的?
- python - 与 SQL Developer 相比,cx_Oracle 中的结果不同
- python - 如何在python中为自定义异常定义IDLE calltip
- javascript - 如何识别在 React 中单击了哪个菜单项?
- html - 滚动捕捉不适用于以下代码。我如何解决它?(我正在使用最新版本的 chrome)
- react-native - 尝试在我的 App 组件中使用 ref 但出现错误 Function components can be given refs
- python - /'xxx' 处的 TemplateSyntaxError 不是已注册的标签库。必须是以下之一:
- python - python - 如何通过将字符串添加到现有列表而不更改python中的现有列表来创建新列表?
- c# - 如何设置列表
值为 List 的对象的字段