didn't you just describe AWS Amplify? It also integrates with Cognito not sure if Vercel offers Auth out of the box.
also I'm not sure if I'm alone in this but I set up everything through the web console and then generate CDK or Terraform.
Or you could use AWS Amplify.
Consider Image Optimization. In this post, there's a `/_vercel/image` URL made available to send an image and return it compressed with a format like `.webp`, if possible based on the browser.
With AWS, this would be a combination of S3 (store images), Lambda (compute the image transformations), Cloudfront (CDN), and Route53 (DNS). With the Build Output API, the entire infrastructure is defined by a JSON object (similar to Terraform). I do think the AWS CDK and Copilot[2] are making infra-as-code easier, but infra-as-filesystem[3] is an interesting twist.
[1]: https://vercel.com/blog/build-output-api
[2]: https://aws.github.io/copilot-cli/
[3]: https://news.ycombinator.com/item?id=32192498