简体   繁体   English

将新摄取文件的审计报告自动化到 s3

[英]automation of audit report of new ingestion files into s3

How can we automate of generating an audit report containing file name and timestamp of new ingested file into aws s3 using python or any other methods.我们如何使用 python 或任何其他方法自动生成包含新摄取文件的文件名和时间戳的审计报告到 aws s3 中。

minimizing manual process and automating the process.最大限度地减少手动过程并使过程自动化。

You can use S3 event notification to trigger an AWS Lambda function to process the file.您可以使用S3 事件通知触发 AWS Lambda function 来处理文件。 Please note that Lambda has a maximum execution time of 15mins.请注意 Lambda 的最长执行时间为 15 分钟。 If you need more time to process the file, you could spin up an EC2 instance or an ECS Task if you prefer to use container.如果您需要更多时间来处理文件,如果您更喜欢使用容器,则可以启动 EC2 实例或 ECS 任务。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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