Amazon AppSync · JSON Structure

Appsync Resolver Structure

A resolver for a GraphQL field

Type: record Properties: 0
Amazon AppSyncGraphQLAPI ManagementServerless

Appsync Resolver Structure is a JSON Structure definition published by Amazon AppSync. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://api-evangelist.github.io/amazon-appsync/json-structure/appsync-resolver-structure.json",
  "title": "Resolver",
  "description": "A resolver for a GraphQL field",
  "type": "record",
  "fields": {
    "typeName": {
      "type": "string",
      "description": "The GraphQL type name"
    },
    "fieldName": {
      "type": "string",
      "description": "The GraphQL field name"
    },
    "dataSourceName": {
      "type": "string",
      "description": "The data source name"
    },
    "resolverArn": {
      "type": "string",
      "description": "The resolver ARN"
    },
    "requestMappingTemplate": {
      "type": "string",
      "description": "The request mapping template"
    },
    "responseMappingTemplate": {
      "type": "string",
      "description": "The response mapping template"
    },
    "kind": {
      "type": "string",
      "description": "The resolver kind"
    },
    "pipelineConfig": {
      "type": "string",
      "description": "pipelineConfig"
    },
    "syncConfig": {
      "type": "string",
      "description": "syncConfig"
    },
    "cachingConfig": {
      "type": "string",
      "description": "cachingConfig"
    },
    "maxBatchSize": {
      "type": "integer",
      "description": "Maximum batch size"
    },
    "runtime": {
      "type": "string",
      "description": "runtime"
    },
    "code": {
      "type": "string",
      "description": "The function code"
    }
  }
}