How do I define a regional API endpoint?

Hi,

The title is pretty self-contained. I’d like to set an API endpoint as a regional one with Serverless (https://docs.aws.amazon.com/apigateway/latest/developerguide/create-regional-api.html).

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?

Thanks.

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:

provider:
  name: aws
  runtime: nodejs12.x
  endpointType: REGIONAL