Search code examples
amazon-web-servicesapigateway

How to disable default endpoint in AWS appsync?


Since appsync supports custom domain can we disable the default endpoints similar to api gateway?


Solution

  • So appsync doesn't support disabling default endpoint. But there's a workaround. We can use WAF to block the default endpoint by specifying the host header to match the custom endpoint.