Search code examples
amazon-web-servicesaws-appsync

How to make aws appsync api with existing api endpoint URL?


I am new to aws appsync api. Can anyone guide me for this question? My Case:

I have one URL of RESTAPI endpoint which returns me JSON. Now I want to convert that RESTAPI to aws appsync api using that URL. How can I do that?


Solution

  • You can use an AWS Lambda resolver to convert the REST API response to GraphQL in AppSync. The tutorial should help you get familiar with Lambda resolvers.