@aws-cdk/aws-appsync: Add ability to create resolvers with "operation": "BatchInvoke"
See original GitHub issueI want to setup an AppSync resolver using the CDK to use "operation": "BatchInvoke"
as described here https://docs.aws.amazon.com/appsync/latest/devguide/tutorial-lambda-resolvers.html#advanced-use-case-batching
I am currently using the createResolver function to create my resolvers but cannot see a way to specify this type of operation - see here: https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-appsync.LambdaDataSource.html#createwbrresolverpropsspan-[…]y-change-without-noticespan
Use Case
The link above describes my use case.
Proposed Solution
None
Other
N/A
- 👋 I may be able to implement this feature request
- ⚠️ This feature might incur a breaking change
This is a 🚀 Feature Request
Issue Analytics
- State:
- Created 2 years ago
- Comments:9 (5 by maintainers)
Top Results From Across the Web
Tutorial: Lambda resolvers - AWS AppSync
In this section, we'll show you how to write a Lambda function that performs business logic based on the invocation of a GraphQL...
Read more >Resolver mapping template reference for Lambda
The Invoke operation lets Amazon AppSync know to call your Lambda function for every GraphQL field resolver. BatchInvoke instructs Amazon AppSync to batch ......
Read more >AWS AppSync Developer Guide - Amazon S3
Add Data with a GraphQL Mutation. In the AWS AppSync console, choose the Queries tab on the left to open the GraphQL operations...
Read more >API (GraphQL) - Overwrite & customize resolvers - Amplify Docs
Add the required Query , Mutation or Subscription type to your schema. Create resolvers for newly created Query , Mutation or Subscription by...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@asnaseer-resilient I’m currently working on the schema validation PR, but ill see what I can do. It does seem pretty straightforward but I want to make sure I read more about mapping templates before I implement anything that will change the API.
Most of that effort is in https://github.com/umani/ribosome, which works but isn’t pretty (the API was designed to be compatible with the constraints of jsii, in case it would ever be merged into the cdk). But yeah, looking forward to JS resolvers 😃