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?

posta 2 anni fa190 visualizzazioni
1 Risposta
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
con risposta 9 mesi fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande