Create a lambda function to read text files from S3 bucket. We'll also setup a trigger to run our lambda function whenever a new text file is uploaded.
Sample coder here with some changes to get S3 key dynamically.
https://github.com/pablodan/lambda-fi...