AWS Front-End Web and Mobile

Home » AWS Cheat Sheets » AWS Front-End Web and Mobile

The AWS Front-End Web and Mobile services support development workflows for native iOS/Android, React Native, and JavaScript developers. You can develop apps and deliver, test, and monitor them using managed AWS services.

AWS AppSync Features

Amazon AWS Front-End Web and Mobile Services

AWS AppSync is a fully managed service that makes it easy to develop GraphQL APIs.

Securely connects to to data sources like AWS DynamoDB, Lambda, and more.

Add caches to improve performance, subscriptions to support real-time updates, and client-side data stores that keep offline clients in sync.

AWS AppSync automatically scales your GraphQL API execution engine up and down to meet API request volumes.

GraphQL

AWS AppSync uses GraphQL, a data language that enables client apps to fetch, change and subscribe to data from servers.

In a GraphQL query, the client specifies how the data is to be structured when it is returned by the server.

This makes it possible for the client to query only for the data it needs, in the format that it needs it in.

GraphQL also includes a feature called “introspection” which lets new developers on a project discover the data available without requiring knowledge of the backend.

Real-time data access and updates

AWS AppSync lets you specify which portions of your data should be available in a real-time manner using GraphQL Subscriptions.

GraphQL Subscriptions are simple statements in the application code that tell the service what data should be updated in real-time.

Offline data synchronization

The Amplify DataStore provides a queryable on-device DataStore for web, mobile and IoT developers.

When combined with AWS AppSync the DataStore can leverage advanced versioning, conflict detection and resolution in the cloud.

This allows automatic merging of data from different clients as well as providing data consistency and integrity.

Data querying, filtering, and search in apps

AWS AppSync gives client applications the ability to specify data requirements with GraphQL so that only the needed data is fetched, allowing for both server and client filtering.

AWS AppSync supports AWS Lambda, Amazon DynamoDB, and Amazon Elasticsearch.

GraphQL operations can be simple lookups, complex queries & mappings, full text searches, fuzzy/keyword searches, or geo lookups.

Server-Side Caching

AWS AppSync’s server-side data caching capabilities reduce the need to directly access data sources.

Data is delivered at low latency using high speed in-memory managed caches.

AppSync is fully managed and eliminates the operational overhead of managing cache clusters.

Provides the flexibility to selectively cache data fields and operations defined in the GraphQL schema with customizable expiration.

Security and Access Control

AWS AppSync allows several levels of data access and authorization depending on the needs of an application.

Simple access can be protected by a key.

AWS IAM roles can be used for more restrictive access control.

AWS AppSync also integrates with:

  • Amazon Cognito User Pools for email and password functionality
  • Social providers (Facebook, Google+, and Login with Amazon).
  • Enterprise federation with SAML.

Customers can use the Group functionality for logical organization of users and roles as well as OAuth features for application access.

Custom Domain Names

AWS AppSync enables customers to use custom domain names with their AWS AppSync API to access their GraphQL endpoint and real-time endpoint.

Used with AWS Certificate Manager (ACM) certificates..

A custom domain name can be associated with any available AppSync API in your account.

When AppSync receives a request on the custom domain endpoint, it routes it to the associated API for handling.

Related posts: