Amazon AppSync · Example Payload

Appsync Create Data Source Request Example

Primary data source

Amazon AppSyncGraphQLAPI ManagementServerless

Appsync Create Data Source Request Example is an example object payload from Amazon AppSync, with 7 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

namedescriptiontypeserviceRoleArndynamodbConfiglambdaConfighttpConfig

Example Payload

Raw ↑
{
  "name": "MyDynamoDBDataSource",
  "description": "Primary data source",
  "type": "AMAZON_DYNAMODB",
  "serviceRoleArn": "arn:aws:iam::123456789012:role/appsync-role",
  "dynamodbConfig": "example-string",
  "lambdaConfig": "example-string",
  "httpConfig": "example-string"
}