aws / aws/aws-cdk

AppSync: support full primary key in mapping template for DynamoDB GetItem

Open
#6,227 7 comments 11 reactions 0 assignees View on GitHub
@aws-cdk/aws-appsync effort/medium feature-request p2
Dominant language
TypeScript
Stars
12.9k
Forks
4.6k
Avg merge
2d 3h
Merged PRs (30d)
83

Description

Currently, `GetItem` only supports specifying the partition key.

### Use Case

Support schemas which have partition and sort keys.

### Proposed Solution

Have an object model to describe the primary key.

### 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 tracing how AppSync DynamoDB GetItem mapping templates currently represent the partition key. Investigate the existing schema and primary-key handling before deciding how the proposed object model should fit. Done means schemas with both partition and sort keys can generate a working GetItem mapping template, with existing partition-key behavior preserved.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, typescript
Domain
api, databases
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.