AWS Amplify Hosting now supports deploying and hosting server-side rendered (SSR) apps built with the Next.js framework with zero configuration. Frontend developers can now leverage all of Amplify Hosting’s CI/CD and hosting capabilities for deploying SSR apps. Next.js is a React framework that combines build-time static site generation (SSG) and dynamic server-side rendering (SSR) to enable developers to build performant, SEO-friendly web apps. Amplify Hosting supports all Next.js features in version 9.x.x including SSR API routes, dynamic pages, and automatic pre-rendering.
Source:: Amazon AWS