Example for CloudWatch Synthetics to test a single page application.
The app is an single page application build with Preact, Typescript and Vite.js. It shows a collection of funny videos of cats. (Try not to laugh 😎)
The source files can be found . For package manager we used PNPM runtime (pnpm install
for installing packages).
For deployment we choose SST (Ion) framework, to deploy to AWS Lambda. Deploy it via sst deploy
(sst dev
seams not to work!).