DynamoDB - Pay-Per-Request pricing and/or use an existing table
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.3k
- Forks
- 232
- PR merge metrics
- No merged PRs in 30d
Description
Is your proposal related to a problem?
Currently, SAML Jackson seems to only support creating its own DynamoDB table with provisioned capacity.
Describe the solution you'd like
I would like to be able to use Pay-Per-Request pricing for DynamoDB instead of provisioned capacity. Or, even better, I want to provision my DynamoDB table myself using my existing Infrastructure-as-Code tooling. Ideally, I should be able to specify an existing DynamoDB table name, hash key name, and sort key name. I don't really have any need for Jackson to create its own DynamoDB table for me.
Describe alternatives you've considered
I would love a way to provide a completely custom database provider implementation based on some interface.
Edit: Looks like this is possible by passing a driver that implements DatabaseDriver to the db option when setting up jackson. Unfortunately neither the built-in Postgres nor DynamoDB drivers will work for my use case - we do not use the public schema in Postgres and the application AWS role does not have permission to create DynamoDB tables. I will try to implement my own custom DatabaseDriver - it would be great if this were documented.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the db option and the DatabaseDriver interface mentioned in the issue, then compare the built-in DynamoDB and Postgres drivers with the requested use cases. Done should include a documented custom-driver path and a decided, tested approach for Pay-Per-Request or existing DynamoDB tables with configurable key names.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, typescript
- Domain
- cloud, database
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100