ALL LESSONS Module 16

AWS AppSync GraphQL

Apr 5, 2026 1 min read

Managed GraphQL Service

Real-time data synchronization across devices.

GraphQL Schema

type Post {
  id: ID!
  title: String!
  content: String
}

type Mutation {
  createPost(input: PostInput!): Post
}

type Query {
  getPost(id: ID!): Post
}

type Subscription {
  onCreatePost: Post
}

Data Sources

  • DynamoDB direct mapping
  • Lambda resolvers
  • HTTP API endpoints
  • Elasticsearch Service

Need help with this lesson? Visit the Discussion Forum