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

Enable On-Demand Billing Mode #182

Open
aneilbaboo opened this issue Apr 19, 2019 · 0 comments · May be fixed by #183
Open

Enable On-Demand Billing Mode #182

aneilbaboo opened this issue Apr 19, 2019 · 0 comments · May be fixed by #183

Comments

@aneilbaboo
Copy link
Contributor

In November, AWS released On-Demand mode: https://aws.amazon.com/blogs/aws/amazon-dynamodb-on-demand-no-capacity-planning-and-pay-per-request-pricing/

It would be great to have support for this: It's enabled by setting a new BillingMode attribute to 'PAY_PER_REQUEST' in the AWS table configuration JSON.

Maybe something like:

var Account = dynogels.define('MyTable', {
  hashKey : 'id',
  billingMode: 'PAY_PER_REQUEST', // default is 'PROVISIONED'
  schema : {
   id: ...
  }
});
@aneilbaboo aneilbaboo changed the title Enable onDemand Enable On-Demand Billing Mode Apr 19, 2019
@aneilbaboo aneilbaboo linked a pull request Apr 19, 2019 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant