question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

@aws-cdk/aws-appsync: Add ability to create resolvers with "operation": "BatchInvoke"

See original GitHub issue

I 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:closed
  • Created 2 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
BryanPan342commented, May 7, 2021

@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.

1reaction
duartencommented, May 6, 2021

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 😃

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found