Amazon AppSync · Schema

DataSource

A data source configuration for a GraphQL API

Amazon AppSyncGraphQLAPI ManagementServerless

Properties

Name Type Description
dataSourceArn string The ARN of the data source
name string The data source name
description string The data source description
type string The data source type
serviceRoleArn string IAM service role ARN
dynamodbConfig string dynamodbConfig
lambdaConfig string lambdaConfig
elasticsearchConfig string elasticsearchConfig
httpConfig string httpConfig
View JSON Schema on GitHub

JSON Schema

appsync-data-source-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://api-evangelist.github.io/amazon-appsync/json-schema/appsync-data-source-schema.json",
  "title": "DataSource",
  "description": "A data source configuration for a GraphQL API",
  "type": "object",
  "properties": {
    "dataSourceArn": {
      "type": "string",
      "description": "The ARN of the data source"
    },
    "name": {
      "type": "string",
      "description": "The data source name"
    },
    "description": {
      "type": "string",
      "description": "The data source description"
    },
    "type": {
      "type": "string",
      "description": "The data source type"
    },
    "serviceRoleArn": {
      "type": "string",
      "description": "IAM service role ARN"
    },
    "dynamodbConfig": {
      "type": "string",
      "description": "dynamodbConfig"
    },
    "lambdaConfig": {
      "type": "string",
      "description": "lambdaConfig"
    },
    "elasticsearchConfig": {
      "type": "string",
      "description": "elasticsearchConfig"
    },
    "httpConfig": {
      "type": "string",
      "description": "httpConfig"
    }
  }
}