rights reserved. 2 - AppSync basics - AppSync with HTTP APIs - AppSync in Event-Driven Architectures - AppSync and Generative AI - AppSync for the Enterprise Agenda
rights reserved. 5 AppSync: A GraphQL API serving different clients AWS AppSync GraphQL schema Enterprise apps Web & mobile apps Real-time dashboards IoT devices Request Response Offline/delta sync
rights reserved. 6 AppSync: A GraphQL API exposing data and services AWS AppSync GraphQL schema Enterprise apps Web & mobile apps Real-time dashboards IoT devices Request Response Offline/delta sync Resolvers Amazon DynamoDB Amazon Aurora Amazon OpenSearch Service AWS Lambda Data sources VTL Other AWS services
rights reserved. 10 AppSync integrates with any HTTP API… Direct Integration with HTTP Data source, no unnecessary hop, return only what you need 1. Define the GraphQL Schema 2. Define the data source pointing to an HTTP API
rights reserved. 11 AppSync integrates with any HTTP API… Direct Integration with HTTP Data source, no unnecessary hop, return only what you need 3. Define the resolver Use data fetched from the first resolver (getUser), available in “source” Return only what you need
rights reserved. 12 AppSync integrates with any HTTP API… Direct Integration with HTTP Data source, no unnecessary hop, return only what you need 4. Execute query
rights reserved. 14 AppSync: A GraphQL API that composes data sources AWS AppSync GraphQL schema Enterprise apps Web & mobile apps Real-time dashboards IoT devices Request Response Offline/delta sync Amazon DynamoDB Amazon Aurora Amazon OpenSearch Service AWS Lambda Data sources VTL Other AWS services HTTP Public HTTP APIs Pipeline Resolvers
rights reserved. 16 AppSync enables BFF pattern Backend for Frontend (BFF) is • Tightly coupled to specific user experience (UX) • Maintained/defined by the frontend team • Easier to define and adapt to UX requirements BFF allows backend REST APIs to • Remain focused (clear, specific scope) • Remain simple, and easy to maintain • Evolve independently Direct integration, no unnecessary hop, return only what you need AWS AppSync API API API Backend For Frontend
rights reserved. 18 Appsync + EventBridge = 🩷 Make any system event-driven and real-time Backend to frontend with subscripLons AWS AppSync Amazon EC2 Amazon EventBridge Subscription Frontend to backend AWS Lambda AWS AppSync Amazon EventBridge
rights reserved. 20 Model invocation – Converse API Amazon Bedrock Runtime data source + Converse • Integration with Guardrails • Tool use • Max 10 seconds • No streaming
rights reserved. 22 Model invocation – InvokeModel API Amazon Bedrock Runtime data source + InvokeModel • Quickly create a summary or generate embeddings • Integration with Guardrails • Max 10 seconds
rights reserved. 23 Model invocation – Synchronous pipeline AWS AppSync Pipeline function Pipeline function Request Response Amazon Bedrock Request Response Amazon Aurora Use case • Create an embedding using Amazon Titan model in Bedrock • Then use that embedding for a similarity search using pgVector in Aurora
rights reserved. 26 AppSync: A GraphQL API for the enterprise AWS AppSync GraphQL schema Enterprise apps Web & mobile apps Real-time dashboards IoT devices Request Response Offline/delta sync Resolvers Amazon DynamoDB Amazon Aurora Amazon OpenSearch Service AWS Lambda Data sources VTL Other AWS services HTTP Public HTTP APIs Amazon EventBridge Amazon Bedrock Amazon CloudWatch AWS X-Ray Metrics, logs, and traces
rights reserved. 29 GraphQL Federation with Merged APIS • A merged API combines a group of AppSync GraphQL APIs owned and managed by different teams by composing a single GraphQL schema and securely exposing data from backend APIs to clients in a single endpoint • Enables cross-team collaboration while operating independently
rights reserved. 30 GraphQL Federation with Merged APIS GraphQL Schema Resolvers AWS account – Team B Amazon DynamoDB Amazon Aurora Serverless AWS account – Team A GraphQL Schema Resolvers Schema A Schema B AWS account – Merged API IAM Permissions Merged GraphQL Schema Resolvers (Team A) Merged Schema Read-only Read-only Resolvers (Team B) Read-only IAM Permissions