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 年前檢視次數 189 次
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
已回答 9 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南