I want to use lambda to get database from dynamodb and generate compute data to cvs file.
Then attach this file with email send to customer.
Step
Get data from dynamodb. (I know how to do it .)
Write to file .CSV ( need help).
Because lambda doesn't have persisted data. How to write to file
- Attach .CSV to email and send to customer. ( need help)