AppSync
Icon
About
It is a managed service, that helps to built
GraphQL
APIs.GraphQL
makes it easy for application to get exactly the data they need, usingGraphQL
queries (another way of making API).This includes combining data from one or more sources.
NoSQL
data stores, Relational database, HTTP APIs.It integrates with
DynamoDB
,Aurora
,OpenSearch
and 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
)GraphQL
schema is required to get started withAppSync
.For custom domain && HTTPs, use CloudFront in front of
AppSync
.
Working
AppSync
receivesGraphQL
queries send by clients and forwards it to resolver likeDynamoDb
resolver.AppSync
knows how to return all the query details as per query injson
form.

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