!new! | Appsync Repo

type Mutation createPost(input: CreatePostInput!): Post @aws_cognito_user_pools

GraphQL API built with AWS AppSync, providing real-time and offline-capable data synchronization. This repository contains the GraphQL schema, resolvers, data sources, and infrastructure-as-code for the [Project Name] GraphQL API. The API leverages AWS AppSync for managed GraphQL, DynamoDB for primary data storage, and Lambda for custom business logic.

cd infra npm run cdk deploy

type Subscription onPostCreated: Post @aws_subscribe(mutations: ["createPost"])

| Mode | Use Case | |------|----------| | | Authenticated user operations | | API Key | Public, read-only access (expires) | | IAM | Service-to-service calls (EC2, Lambda) |

type Query publicFeed: [Post] @aws_api_key