I have an online system that creates and stores PDF’s in an AWS S3 bucket. The files are named using a 17 digit number. (It is a vehicle VIN number)
My clients need a snippit to put on their website that will communicate with the AWS Lamba service do a small check and return some html code back to the client website. The snippit will carry 2 variables, VIN and STYLE
When the code on the AWS Lamda service is called by the snippit it will look in an S3 bucket to see if a file with the matching VIN exists. ([url removed, login to view]) If there is a matching .pdf in S3 then a the Lamda code returns code for an html button with a link to the file on S3.
If there is a matching .pdf then there is a button with a link to the file, if there is no file then there is no button code returned.
The snippit also needs to be able to tell the Lamda application code which set of CSS styles to use when returning the button to the client site. There will be a CSS style sheet saved on S3 with a number of different styles for buttons. (a,b,c, …z) Different clients will need differently styled buttons to match their website.
I need the website snippit, I need the node.js code to run on the Lamda service, I need the code installed into my AWS Lamda service and I need the .css button style sheet with at least two button styles.
The snippit will be reproduced multiple times on my client’s website(s) with different VINs and STYLEs and needs to make the calls to the Lamda service when the page loads so that buttons show up for the vehicles with matching .pdfs in the S3 bucket. The code needs to be fast, we can not slow down the loading of the client’s website and their website might have 50-100 vehicles on each page.
8 freelanceria on tarjonnut keskimäärin 410 $ tähän työhön
I work on a daily basis with AWS APIs and I am experienced with implementing and deploying lambda. I am a AWS Certified Solutions Architect and a Senior Software Engineer.