@@ -14,33 +14,38 @@ stay current with the plugin's actual behavior — if they break, CI fails.
1414
1515## Index
1616
17- | Example | What it shows |
18- | --------------------------------------------------- | ------------------------------------------------------------------------------ |
19- | [ basic-api-key] ( ./basic-api-key/ ) | Simplest possible setup: API key auth, one DynamoDB data source, one resolver |
20- | [ cognito-userpools] ( ./cognito-userpools/ ) | Cognito User Pools authentication with default action and user groups |
21- | [ iam-auth] ( ./iam-auth/ ) | AWS IAM authentication |
22- | [ oidc-auth] ( ./oidc-auth/ ) | OpenID Connect authentication |
23- | [ lambda-authorizer] ( ./lambda-authorizer/ ) | Custom AWS Lambda authorizer |
24- | [ multi-auth] ( ./multi-auth/ ) | Multiple authentication providers (API Key primary + Cognito + IAM additional) |
25- | [ lambda-resolvers-js] ( ./lambda-resolvers-js/ ) | JS resolvers bundled with esbuild + Lambda data sources |
26- | [ lambda-resolvers-vtl] ( ./lambda-resolvers-vtl/ ) | VTL request/response mapping templates |
27- | [ pipeline-resolvers] ( ./pipeline-resolvers/ ) | Pipeline resolvers with reusable functions |
28- | [ datasource-http] ( ./datasource-http/ ) | HTTP data source with optional IAM signing |
29- | [ datasource-none] ( ./datasource-none/ ) | NONE data source (local resolvers) |
30- | [ datasource-eventbridge] ( ./datasource-eventbridge/ ) | EventBridge data source |
31- | [ datasource-opensearch] ( ./datasource-opensearch/ ) | Amazon OpenSearch Service data source |
32- | [ datasource-rds] ( ./datasource-rds/ ) | Relational Database (Aurora Serverless) data source |
33- | [ caching] ( ./caching/ ) | Server-side caching configuration |
34- | [ waf] ( ./waf/ ) | AWS WAF v2 rules attached to the API |
35- | [ logging-xray] ( ./logging-xray/ ) | Field-level logging plus X-Ray tracing |
36- | [ custom-domain] ( ./custom-domain/ ) | Custom domain with route53 record management |
37- | [ introspection-disabled] ( ./introspection-disabled/ ) | Disabled introspection and query depth limit |
38- | [ substitutions] ( ./substitutions/ ) | VTL ` ${variable} ` substitutions in resolvers |
39- | [ environment-variables] ( ./environment-variables/ ) | Environment variables for JS resolvers |
40- | [ api-keys-multiple] ( ./api-keys-multiple/ ) | Multiple API keys with different expiry policies |
41- | [ tags] ( ./tags/ ) | Resource tagging on the AppSync API |
42- | [ visibility-private] ( ./visibility-private/ ) | PRIVATE API visibility for VPC-only access |
43- | [ schema-multiple-files] ( ./schema-multiple-files/ ) | Schema split across multiple ` .graphql ` files |
17+ | Example | What it shows |
18+ | ------------------------------------------------------------- | ------------------------------------------------------------------------------------------ |
19+ | [ basic-api-key] ( ./basic-api-key/ ) | Simplest possible setup: API key auth, one DynamoDB data source, one resolver |
20+ | [ cognito-userpools] ( ./cognito-userpools/ ) | Cognito User Pools authentication with default action and user groups |
21+ | [ iam-auth] ( ./iam-auth/ ) | AWS IAM authentication |
22+ | [ oidc-auth] ( ./oidc-auth/ ) | OpenID Connect authentication |
23+ | [ lambda-authorizer] ( ./lambda-authorizer/ ) | Custom AWS Lambda authorizer |
24+ | [ multi-auth] ( ./multi-auth/ ) | Multiple authentication providers (API Key primary + Cognito + IAM additional) |
25+ | [ lambda-resolvers-js] ( ./lambda-resolvers-js/ ) | JS resolvers bundled with esbuild + Lambda data sources |
26+ | [ lambda-resolvers-vtl] ( ./lambda-resolvers-vtl/ ) | VTL request/response mapping templates |
27+ | [ pipeline-resolvers] ( ./pipeline-resolvers/ ) | Pipeline resolvers with reusable functions |
28+ | [ datasource-http] ( ./datasource-http/ ) | HTTP data source with optional IAM signing |
29+ | [ datasource-none] ( ./datasource-none/ ) | NONE data source (local resolvers) |
30+ | [ datasource-eventbridge] ( ./datasource-eventbridge/ ) | EventBridge data source |
31+ | [ datasource-opensearch] ( ./datasource-opensearch/ ) | Amazon OpenSearch Service data source |
32+ | [ datasource-rds] ( ./datasource-rds/ ) | Relational Database (Aurora Serverless) data source |
33+ | [ caching] ( ./caching/ ) | Server-side caching configuration |
34+ | [ waf] ( ./waf/ ) | AWS WAF v2 rules attached to the API |
35+ | [ logging-xray] ( ./logging-xray/ ) | Field-level logging plus X-Ray tracing |
36+ | [ custom-domain] ( ./custom-domain/ ) | Custom domain with route53 record management |
37+ | [ introspection-disabled] ( ./introspection-disabled/ ) | Disabled introspection and query depth limit |
38+ | [ substitutions] ( ./substitutions/ ) | VTL ` ${variable} ` substitutions in resolvers |
39+ | [ environment-variables] ( ./environment-variables/ ) | Environment variables for JS resolvers |
40+ | [ api-keys-multiple] ( ./api-keys-multiple/ ) | Multiple API keys with different expiry policies |
41+ | [ tags] ( ./tags/ ) | Resource tagging on the AppSync API |
42+ | [ visibility-private] ( ./visibility-private/ ) | PRIVATE API visibility for VPC-only access |
43+ | [ schema-multiple-files] ( ./schema-multiple-files/ ) | Schema split across multiple ` .graphql ` files |
44+ | [ sync-config-versioned] ( ./sync-config-versioned/ ) | DynamoDB conflict resolution (OPTIMISTIC_CONCURRENCY + AUTOMERGE) with delta sync |
45+ | [ custom-domain-no-cfn] ( ./custom-domain-no-cfn/ ) | Custom domain managed outside CloudFormation (via the plugin's CLI commands) |
46+ | [ waf-pre-existing-arn] ( ./waf-pre-existing-arn/ ) | Attach a pre-existing shared WAF WebACL by ARN |
47+ | [ pipeline-resolver-with-code] ( ./pipeline-resolver-with-code/ ) | Pipeline resolver with its own top-level JS (before/after handlers) plus per-function code |
48+ | [ api-key-import-existing] ( ./api-key-import-existing/ ) | Import an existing API key by ID (stable migration) alongside auto-generated keys |
4449
4550## How to run an example
4651
0 commit comments