'NextJS API routes on AWS Amplify

Apologies if this is a dumb question but where are the API routes in a next JS application deployed to AWS Amplify hosted?

I know that Amplify supports backends, but generally I'm explicitly writing an express server or something. Since the next JS routes are serverless, does that mean that Amplify is deploying them as lambda functions behind the scenes?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source