Maintained with ☕️ by
IcePanel logo

Amazon DynamoDB local adds support for two DynamoDB API features

Share

Services

Amazon DynamoDB local now supports table deletion protection and the ReturnValuesOnConditionCheckFailure parameter. With DynamoDB local, you can develop and test applications by running DynamoDB in your local development environment without incurring any costs. DynamoDB local does not require an internet connection, and it works with your existing DynamoDB API calls. DynamoDB local version 1.25.0 and version 2.2.0 offer the following features and improvements: * Support for the ReturnValuesOnConditionCheckFailure parameter. With this parameter enabled, DynamoDB error messages can include a copy of the item as it was during the write attempt in your DynamoDB local environment. This lets you easily test the condition error behavior and your response to failed conditional writes the same way as you would with the DynamoDB web service. To learn more about condition checks, see the corresponding API reference [page](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API%5FConditionCheck.html). * Protect your tables in DynamoDB local from accidental deletion when performing table management operations. You can now enable the deletion protection property for each table to test the behavior. The default setting for the deletion protection property is disabled. To learn more about deletion protection, see [Using deletion protection](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/WorkingWithTables.Basics.html#WorkingWithTables.Basics.DeletionProtection). DynamoDB local is free to download and available for macOS, Linux, and Windows. Get started with the latest version by downloading it from “[Deploying DynamoDB locally on your computer](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DynamoDBLocal.DownloadingAndRunning.html)”. To learn more, see [Setting Up DynamoDB Local (Downloadable Version)](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DynamoDBLocal.html).