Reputation:
I want to test making way too many request to a DynamoDB table to trigger the exception ProvisionedThroughputExceededException
.
For this I have to reach the capacity limit, so I need to create a table that doesn't auto-scale.
DynamoDB has 2 capacity modes:
I'm using provisioned mode, but I don't know how to disable its auto scaling. On the table, capacity settings, I only have this:
There's this option of I authorize DynamoDB to scale capacity using the following role. But it's already set, I can't touch it.
Upvotes: 1
Views: 852
Reputation: 35188
You can disable autoscaling by clicking the checkboxes above each of the units (Read capacity
and Write capacity
).
Once you uncheck these checkboxes, the textboxes above allow you to put a specific value for each type of credit unit.
Upvotes: 1