Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DynamoDB - Pay-Per-Request pricing and/or use an existing table #3039

Open
sbking opened this issue Aug 16, 2024 · 0 comments
Open

DynamoDB - Pay-Per-Request pricing and/or use an existing table #3039

sbking opened this issue Aug 16, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@sbking
Copy link

sbking commented Aug 16, 2024

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.

@sbking sbking added the enhancement New feature or request label Aug 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant