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?

preguntada hace 2 años190 visualizaciones
1 Respuesta
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
respondido hace 9 meses

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas