Skip to content

Latest commit

 

History

History
35 lines (22 loc) · 631 Bytes

README.md

File metadata and controls

35 lines (22 loc) · 631 Bytes

sam-browser

Serverless Project using Chrome+Puppeteer in a Lambda Layer, with an example StepFunctions State Machine to simulate an Uptime Tracker.

Local Development

Build

sam build --cached --parallel

Execute Lambda Function

sam local invoke WebsiteFinderFunction --event events/website-finder-event.json

Execute StateMachine

Start Lambdas:

sam local start-lambda

In separate process, create and execute statemachine using Step Functions Local:

./execute-machine-track-uptime.sh

StateMachine Diagram:

StateMachine Diagram