awslabs / awslabs/aws-solutions-constructs

New Pattern: appsync-dynamodb

Open
#99 2 comments 0 reactions 0 assignees View on GitHub
Backlog feature-request
Dominant language
TypeScript
Stars
1.4k
Forks
268
Avg merge
5h 18m
Merged PRs (30d)
5

Description

Similar to as we have API gateway -> DynamoDB or Api gateway -> lambda -> DynamoDB, we should also have a pattern that covers GraphQL resolvers to DynamoDB (AppSync to DynamoDB).

### Use Case

Most of the constructs for APIs that we have today are targeted towards REST based services but none towards GraphQL based APIs. AppSync and GraphQL being the next generation of API platform to support, construct with AppSync with DynamoDB will help customers to build their applications faster.

### Proposed Solution

TBD, but at a high level
1. construct props to define the resolvers
2. define and configure DynamoDB
3. configure permissions required for AppSync authentication model
4. role permissions to allow AppSync to connect with DynamoDB

### Other

* [X] :wave: I may be able to implement this feature request
* [ ] :warning: This feature might incur a breaking change

---

This is a :rocket: Feature Request

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the existing API Gateway-to-DynamoDB and API Gateway-to-Lambda-to-DynamoDB patterns for the project's conventions. Define the resolver props, DynamoDB configuration, AppSync authentication permissions, and AppSync-to-DynamoDB role permissions described in the issue; the issue provides no file or test entry point, and the proposed solution remains TBD.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, typescript
Domain
api, cloud, database
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.