dynamodb: TableV2 to support fixed write capacity #27378
Labels
@aws-cdk/aws-dynamodb
Related to Amazon DynamoDB
feature-request
A feature should be added or improved.
Describe the feature
Creating a TableV2 with provisionned billing fails if I specify fixed capacity for WCU.
Error: You cannot configure 'writeCapacity' with FIXED capacity mode
new TableV2(this,
my-table
, {billing: Billing.provisioned({
readCapacity: Capacity.fixed(3),
writeCapacity: Capacity.fixed(1),
}),
}
Use Case
My table's capacity is well known so I don't need the autoscaling.
The thing is it autoscaling capacity creates a lot of cloudwatch alarms which I don't need, as they will never trigger. This produces unwanted additional costs.
Proposed Solution
Support fixed capacity for WCU.
Other Information
No response
Acknowledgements
CDK version used
2.99.1
Environment details (OS name and version, etc.)
Win11
The text was updated successfully, but these errors were encountered: