Server-Side Rendering - React - AWS Amplify Gen 2 Documentation
Use Amplify Auth and Data APIs from Next.js server-side runtimes. AWS Amplify Documentation