awslabs / aws-solutions-constructs

The AWS Solutions Constructs Library is an open-source extension of the AWS Cloud Development Kit (AWS CDK) that provides multi-service, well-architected patterns for quickly defining solutions
https://docs.aws.amazon.com/solutions/latest/constructs/
Apache License 2.0
1.24k stars 249 forks source link

New Pattern: appsync-dynamodb #99

Open knihit opened 4 years ago

knihit commented 4 years ago

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


This is a :rocket: Feature Request

biffgaut commented 3 years ago

Not on the near term roadmap, moving to our backlog

jaresuth commented 3 years ago

@biffgaut - Do you mind if I look at tackling this Feature Request?