简体   繁体   中英

AWS AppSync GraphQL Resolver from AWS CodeStar

Is there a way for GraphQL resolver to resolve data source from endpoint exposed by a lambda function generated by CodeStar?

The examples provided in the AppSync docs shows how I resolve data from single lambda function, but in my case, I'm using AWS Codestar to generate a REST API using lambda, with several endpoints that returns different set of data.

For example, when I want to resolve a fetchPosts, i need to resolve it from https://my-prod-example-url/posts endpoint, not just invoke the lambda function.

I am on the AWS AppSync team. Http data sources are not available yet but they're very much on our roadmap.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM