Command-line tool for managing AWS AppSync GraphQL APIs and configurations.

Install

mkdir -p .claude/skills/aws-appsync && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/18883" && unzip -o skill.zip -d .claude/skills/aws-appsync && rm skill.zip

Installs to .claude/skills/aws-appsync

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

AppSync via AWS CLI v2 (`aws appsync`). GraphQL and Events APIs, data sources, resolvers, functions, types, API keys, caching, domain names, merged APIs.
153 charsno explicit “when” trigger
Intermediate

Key capabilities

  • Manage GraphQL APIs in AWS AppSync
  • Configure Event APIs in AWS AppSync
  • Create and manage data sources for AppSync
  • Develop and deploy resolvers and functions
  • Manage API keys and caching for AppSync

How it works

The skill provides an interface to AWS AppSync through AWS CLI v2 commands, allowing management of GraphQL and Event APIs, data sources, resolvers, and other AppSync resources.

Inputs & outputs

You give it
AWS CLI v2 `aws appsync` commands with parameters
You get back
created, updated, or retrieved AppSync resource configurations

When to use aws-appsync

  • Update GraphQL schema
  • Create resolver function
  • Manage AppSync API keys
  • Link data sources

About this skill

AWS CLI v2 — AppSync

Overview

Complete reference for all aws appsync subcommands in AWS CLI v2. Covers GraphQL API management, Event API management, data sources, resolvers, pipeline functions, type definitions, API keys, caching, custom domain names, merged API associations, channel namespaces, and resource tagging. AWS AppSync is a fully managed service for building scalable GraphQL and real-time Event APIs backed by multiple data sources including DynamoDB, Lambda, HTTP endpoints, OpenSearch, RDS, and EventBridge.

Quick Reference — Common Workflows

Create a GraphQL API with API key authentication

aws appsync create-graphql-api \
    --name my-graphql-api \
    --authentication-type API_KEY

aws appsync create-api-key \
    --api-id abc123 \
    --description "Development key" \
    --expires 1735689600

Upload a GraphQL schema

aws appsync start-schema-creation \
    --api-id abc123 \
    --definition fileb://schema.graphql

aws appsync get-schema-creation-status \
    --api-id abc123

Add a DynamoDB data source and resolver

aws appsync create-data-source \
    --api-id abc123 \
    --name PostsTable \
    --type AMAZON_DYNAMODB \
    --service-role-arn arn:aws:iam::123456789012:role/AppSyncDDBRole \
    --dynamodb-config '{"tableName":"Posts","awsRegion":"us-east-1"}'

aws appsync create-resolver \
    --api-id abc123 \
    --type-name Query \
    --field-name getPost \
    --data-source-name PostsTable \
    --runtime '{"name":"APPSYNC_JS","runtimeVersion":"1.0.0"}' \
    --code 'export function request(ctx) { return { operation: "GetItem", key: util.dynamodb.toMapValues({id: ctx.args.id}) }; } export function response(ctx) { return ctx.result; }'

Create a pipeline resolver with functions

aws appsync create-function \
    --api-id abc123 \
    --name validateInput \
    --data-source-name NONE_DS \
    --runtime '{"name":"APPSYNC_JS","runtimeVersion":"1.0.0"}' \
    --code 'export function request(ctx) { return {}; } export function response(ctx) { return ctx.result; }'

aws appsync create-resolver \
    --api-id abc123 \
    --type-name Mutation \
    --field-name createPost \
    --kind PIPELINE \
    --pipeline-config '{"functions":["func1id","func2id"]}' \
    --runtime '{"name":"APPSYNC_JS","runtimeVersion":"1.0.0"}' \
    --code 'export function request(ctx) { return {}; } export function response(ctx) { return ctx.result; }'

Create an Event API with channel namespaces

aws appsync create-api \
    --name my-event-api \
    --event-config '{"authProviders":[{"authType":"API_KEY"}],"connectionAuthModes":[{"authType":"API_KEY"}],"defaultPublishAuthModes":[{"authType":"API_KEY"}],"defaultSubscribeAuthModes":[{"authType":"API_KEY"}]}'

aws appsync create-channel-namespace \
    --api-id evt123 \
    --name chat-messages

Set up a custom domain

aws appsync create-domain-name \
    --domain-name api.example.com \
    --certificate-arn arn:aws:acm:us-east-1:123456789012:certificate/abc-123

aws appsync associate-api \
    --domain-name api.example.com \
    --api-id abc123

Create a merged API from source APIs

aws appsync create-graphql-api \
    --name my-merged-api \
    --authentication-type API_KEY \
    --api-type MERGED \
    --merged-api-execution-role-arn arn:aws:iam::123456789012:role/MergedApiRole

aws appsync associate-merged-graphql-api \
    --source-api-identifier source-api-id \
    --merged-api-identifier merged-api-id \
    --source-api-association-config '{"mergeType":"AUTO_MERGE"}'

Command Reference

GroupFileCommands
GraphQL APIsgraphql-apis.mdcreate-graphql-api, get-graphql-api, list-graphql-apis, update-graphql-api, delete-graphql-api, get-graphql-api-environment-variables, put-graphql-api-environment-variables, get-introspection-schema, start-schema-creation, get-schema-creation-status
Event APIsevent-apis.mdcreate-api, get-api, list-apis, update-api, delete-api, create-channel-namespace, get-channel-namespace, list-channel-namespaces, update-channel-namespace, delete-channel-namespace
Data Sourcesdata-sources.mdcreate-data-source, get-data-source, list-data-sources, update-data-source, delete-data-source, start-data-source-introspection, get-data-source-introspection
Resolversresolvers.mdcreate-resolver, get-resolver, list-resolvers, update-resolver, delete-resolver, list-resolvers-by-function, evaluate-code, evaluate-mapping-template
Functionsfunctions.mdcreate-function, get-function, list-functions, update-function, delete-function
Typestypes.mdcreate-type, get-type, list-types, update-type, delete-type, list-types-by-association
API Keys & Cacheapi-keys-cache.mdcreate-api-key, list-api-keys, update-api-key, delete-api-key, create-api-cache, get-api-cache, update-api-cache, delete-api-cache, flush-api-cache
Domain Namesdomain-names.mdcreate-domain-name, get-domain-name, list-domain-names, update-domain-name, delete-domain-name, associate-api, get-api-association, disassociate-api
Merged APIsmerged-apis.mdassociate-merged-graphql-api, disassociate-merged-graphql-api, associate-source-graphql-api, disassociate-source-graphql-api, get-source-api-association, list-source-api-associations, update-source-api-association, start-schema-merge
Tagstags.mdtag-resource, untag-resource, list-tags-for-resource

When not to use it

  • When managing non-AppSync AWS services
  • When needing to interact with AppSync outside of AWS CLI v2
  • When the task is not covered by `aws appsync` subcommands

Limitations

  • Operates via AWS CLI v2 (`aws appsync`)
  • Covers GraphQL API management, Event API management, data sources, resolvers, pipeline functions, type definitions, API keys, caching, custom domain names, merged API associations, channel namespaces, and resource tagging
  • Does not cover services outside of AWS AppSync

How it compares

This skill offers a direct command-line interface for AWS AppSync, enabling programmatic management of its resources, which differs from manual console interactions.

Compared to similar skills

aws-appsync side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
aws-appsync (this skill)017dReviewIntermediate
file-uploads46moNo flagsAdvanced
amazon-alexa02moReviewAdvanced
integration-connectivity-generate024dReviewAdvanced

Try saying

Example prompts that trigger this skill in your AI assistant.

You might also like

file-uploads

davila7

Expert at handling file uploads and cloud storage. Covers S3, Cloudflare R2, presigned URLs, multipart uploads, and image optimization. Knows how to handle large files without blocking. Use when: file upload, S3, R2, presigned URL, multipart.

438

amazon-alexa

asnk633

Integracao completa com Amazon Alexa para criar skills de voz inteligentes, transformar Alexa em assistente com Claude como cerebro (projeto Auri) e integrar com AWS ecosystem (Lambda, DynamoDB, Polly, Transcribe, Lex, Smart Home).

00

integration-connectivity-generate

forcedotcom

Salesforce integration architecture and runtime plumbing with 120-point scoring. Use this skill to set up Named Credentials, External Credentials, External Services, REST/SOAP callout patterns, Platform Events, and Change Data Capture. TRIGGER when: user sets up Named Credentials, External Services,

00

modal

davila7

Run Python code in the cloud with serverless containers, GPUs, and autoscaling. Use when deploying ML models, running batch processing jobs, scheduling compute-intensive tasks, or serving APIs that require GPU acceleration or dynamic scaling.

587

azure-static-web-apps

github

Helps create, configure, and deploy Azure Static Web Apps using the SWA CLI. Use when deploying static sites to Azure, setting up SWA local development, configuring staticwebapp.config.json, adding Azure Functions APIs to SWA, or setting up GitHub Actions CI/CD for Static Web Apps.

422

aws-serverless

davila7

Specialized skill for building production-ready serverless applications on AWS. Covers Lambda functions, API Gateway, DynamoDB, SQS/SNS event-driven patterns, SAM/CDK deployment, and cold start optimization.

214

Search skills

Search the agent skills registry