Another suggestion for a new context, ViteSSRSite. This would expect an app using one the vite SSR libraries (
https://github.com/vitejs/awesome-vite#libraries) to spit out a single lambda file for the app. With this you could skip the s3 bucket all together and go with just an APIGateway or maybe this could get really fancy and just use cloudfront and run the Lambda @ Edge. Likely could just wrap up what is being done here
https://github.com/jamesladd/aws-vite-ssr. An interesting side effect here, since it is a lambda, is it may be able to work via live dev like other lambdas do...