How to use aws lambda to write data stored in S3 to Dynamodb
1 answer
- Add an S3 trigger so your lambda is automatically called whenever a new object is added.
In my case, the lambda parses the CSV files and puts the records into a predefined DynamoDB table.
- Here's an example of what a lambda would look like (read my comments):
https://gist.github.com/johnib/14b090d0883ee2d2fb56dd3ac3c82f9b
Let me know if I missed anything.
+2
source to share