简体   繁体   中英

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?

You are right, Amplify deploys them as Lambda@Edge functions. Source .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM