How do I define a regional API endpoint?


The title is pretty self-contained. I’d like to set an API endpoint as a regional one with Serverless (

This is for fault-tolerance, in combination with global DynamoDB tables, to deploy a single application to multiple regions without CNAME conflict.

I could not find the proper serverless.yml option to achieve this. Is there any?


Edit: Seems to relate to issue #4440, and not to be supported as of now.

It has been supported for some time, I’m dropping it here for whoever finds this question and want to see the setup:

  name: aws
  runtime: nodejs12.x
  endpointType: REGIONAL