AppSync is good that it is a managed GraphQL service.
But I dont want to use the DynamoDB, can I plug to MongoDB?
How to do it?
You cannot directly connect MongoDB to AppSync, But you can create and attach a Lambda function as the DataSource and put all your configuration & mapper logic there. Here is a small tutorial about how to use Lambda resolvers. For your case, you would have to extend it and add MongoDB specific configuration & logic.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With