Amazon just announced that API Gateway 2.0 now supports wildcard custom domain names.
With this new feature, you can now combine a wildcard domain to an API Gateway 2.0 directly in your vapor.yml configuration file:
1environments:2 production:3 gateway-version: 24 domain: '*.example.com'
You can read more about custom domains in our documention.

