I have a task description about lambda function. I need to setup this one. please read below and guide me
"When ever a user tries to generate historical report from Webapp server, the request will be placed in the SQS queue. All the filters like start date, end date, status etc.., will be available in the Queue. Once the message is added in the queue it will trigger the lambda function which gets the filters in message and interacts with RDS Aurora DB Instance to fetch the data based on them. This fetched data is formatted and written to CSV file. Which is then pushed to the AWS S3 bucket. Once the file is successfully uploaded to S3 bucket, an Email is sent to the user who requested the report. AWS SES will send an email along with the CSV report URL to download it."