How to use aws lambda to write data stored in S3 to Dynamodb
I have a scenario where data is written to S3. what i want to do is process this data and store in dynamo db. I am using lambda to handle s3 object. Any understanding of how this can be done.
+3
Sonali Pandey
source
to share
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
johni
source
to share