AppSync Data Source
Connects an AppSync API to DynamoDB, Lambda, or HTTP backends.
Configuration
Section titled “Configuration”| Setting | Type | Required | Default |
|---|---|---|---|
| Data source name | Text | Yes | — |
| Type Options: DynamoDB, Lambda, None (local resolver), HTTP | Choice | — | AMAZON_DYNAMODB |
| Description | Text | — | — |
| HTTP endpoint | Text | — | — |
| Tags | Key–value | — | — |
Connections
Section titled “Connections”| Socket | Direction | Accepts | Terraform arg |
|---|---|---|---|
| AppSync API | Input | aws.appsync | api_id |
| Service IAM role | Input | aws.iam-role | service_role_arn |
| DynamoDB table | Input | aws.dynamodb | dynamodb_config.table_name |
| Lambda function | Input | aws.lambda | lambda_config.function_arn |
| Resolvers | Output | any | — |