Store input field text value inside s3 bucket

0

Is it possible to store input field text value (html) inside s3 which will be converted to txt file when uploads?

已提问 2 年前171 查看次数
1 回答
1

Hello!

If I am not mistaken, you're trying to upload an object to S3 (.html object) and convert the file to a text file (.txt) once it uploads. In order to complete this, please follow these steps:

  • [1] Create an Amazon S3 bucket.
  • [2] Create a Lambda function with code that converts the file from .html to .txt
  • [3] Configure a Lambda trigger that invokes your function when objects are uploaded to your bucket.
  • [4] Test your function, first with a dummy event, and then using the trigger.

This is one method of completing your desired task, however there are other methods that could amount to the same result. Please refer to the following resource(s):

profile pictureAWS
已回答 8 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则