How to use AWS lambda and S3 together to fetch results

95 views Asked by At

I am using sitespeed.io to measure performance of some of my static URL's and uploading the results into AWS S3 bucket. Inside AWS S3 bucket it is structured exactly how sitespeed outputs the data. I have attached an image for it and when you go inside that folder what you see is index.html which shows all the details of the pages configured.

Now I have a page which has a calendar and when you select any date, it should show all the folders of that date. When you click on that folder it should open the sitespeed.io summary page. I've attached that as well. Unfortunately I can't share anything else from the code.

What i want to know is it possible to trigger a lambda function using a rest API which will fetch the result from S3 or dynamoDB and display on the front end for user to view?

enter image description here

0

There are 0 answers