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
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
construct props to define the resolvers
define and configure DynamoDB
configure permissions required for AppSync authentication model
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
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
Other
This is a :rocket: Feature Request