noppoMan / npdynamodb

A Node.js Simple Query Builder and ORM for AWS DynamoDB
112 stars 19 forks source link

Creating "Pay per request" as default BillingMode unless otherwise specified #70

Open kelyvin opened 4 years ago

kelyvin commented 4 years ago

Since the last release of this project, DynamoDB now supports a new billing mode of "Pay Per Request", which sets your DynamoDB table as on-demand. Previously the default setup was to create a Table with a provisioned throughput of 10. If you are creating multiple tables (especially for testing purposes), this can increase your AWS costs significantly. You can read more about this change here

This check-in will set default table creation as PAY_PER_REQUEST unless provisionedThroughput is called.

Code Changes