honkskillet
honkskillet

Reputation: 3137

Can AWS App-Sync be used without dynamoDB

I am interested in the offline and sync capabilities of Amazon's app-sync but I was wondering if it could be used without dynamoDB as the backend. The graphQL resolvers written in VTL for dynamoDB look atrocious. It seems it would be much nicer to use a mongo backend. Is that possible?

Upvotes: 7

Views: 2446

Answers (2)

Geetanshu Gulati
Geetanshu Gulati

Reputation: 782

Yes aws appsync can be used without dynamodb . In datasource section of your appsync module you can see options to which you want to link your appsync module. Even don't worry about schema generation. Appsync help you to do it automatically . Just enable auto generate schema . https://docs.aws.amazon.com/appsync/latest/devguide/tutorials.html

Upvotes: 0

Vladimir
Vladimir

Reputation: 2553

Yes, you can use AppSync without DynamoDB. You can use ElasticSearch out of the box (you will need to provision the ES cluster and then setup the resolvers) or you can use Lambda and pipe your data to any source, such as mySQL. Here's info on ElasticSearch: https://docs.aws.amazon.com/appsync/latest/devguide/tutorial-elasticsearch-resolvers.html

Upvotes: 11

Related Questions