AWS AppSync
AWS AppSync is a fully managed service for creating GraphQL APIs and Pub/Sub APIs that natively supports DynamoDB, Aurora, AWS Lambda, and Amazon OpenSearch Service as data sources. It also supports other data sources, making it more versatile.

Supported Data Sources
- Amazon DynamoDB: AppSync natively integrates with DynamoDB, allowing you to use DynamoDB tables as data sources for your GraphQL API.
- Amazon Aurora: AppSync works with SQL databases via Aurora or any other RDS database using resolvers.
- AWS Lambda: You can use Lambda as a data source for custom business logic or to integrate with other AWS services or external APIs.
- Amazon OpenSearch Service: Allows querying and managing search indices via your GraphQL API.
- HTTP Endpoints: You can connect AppSync to any RESTful API or HTTP service as a data source.
- Custom Data Sources: With Lambda or HTTP, you can extend AppSync to support any backend system.
AppSync for GraphQL APIs and Pub/Sub APIs
- GraphQL APIs:
- AWS AppSync's primary use case is creating GraphQL APIs to interact with data sources like DynamoDB, Aurora, Lambda, and more.
- It includes features like schema definition, query execution, and resolvers to manage how data is fetched and returned.
- Pub/Sub APIs:
- AppSync natively supports real-time subscriptions using GraphQL subscriptions and WebSockets.
- Beyond GraphQL, you can use it for Pub/Sub messaging to enable real-time data updates, making it versatile for use cases like collaboration apps, live dashboards, and chat systems.