AppSync
Icon
About
It is a managed service, that helps to built
GraphQLAPIs.GraphQLmakes it easy for application to get exactly the data they need, usingGraphQLqueries (another way of making API).This includes combining data from one or more sources.
NoSQLdata stores, Relational database, HTTP APIs.It integrates with
DynamoDB,Aurora,OpenSearchand others.Custom sources can also used with AWS Lambda.
Retrieve data in real-time with WebSocket or MQTT on Websocket.
For mobile apps if you need local data access and data synchronization, (its basically a replacement for
Cognito Sync)GraphQLschema is required to get started withAppSync.For custom domain && HTTPs, use CloudFront in front of
AppSync.
Working
AppSyncreceivesGraphQLqueries send by clients and forwards it to resolver likeDynamoDbresolver.AppSyncknows how to return all the query details as per query injsonform.

Integration Diagram
Different integrations possible with
AppSync.
Integration
Security
There are four ways one can authorize applications to interact with your AWS
AppSyncGraphQL API.API KEYAWS IAM: Use roles, users, cross-account accessOPENID_CONNECT: Using OpenID connect provider/JSON Web TokenAMAZON_COGNITO_USER_POOLSLambda authorizor
Caching
API Responses can be cached. Three types of caching are supported.
No Cache
Full request cache
Per-resolver cache
Monitoring
Appsyncis integrated withCloudWatchand captures logs and metrics.A dashboard capturing metrics is available.
Last updated