Appsync Repo |top| -

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

serverless deploy --stage dev

amplify init amplify push # Run GraphQL codegen (types, operations) npm run codegen Start local AppSync emulator (using Amplify Mock) amplify mock api Run unit tests for resolvers npm test GraphQL Schema The schema is defined in schema.graphql . Example: appsync repo

Example directive usage:

type Query getPost(id: ID!): Post listPosts(limit: Int, nextToken: String): PostConnection! | Mode | Use Case | |------|----------| |

error: Content is protected !!