AWS amazondynamodb documentation change
Summary
Added reference to ValidationException error when exceeding DynamoDB item size limit
Security assessment
The change clarifies error handling for size limits but does not address a security vulnerability or introduce security features.
Diff
diff --git a/amazondynamodb/latest/developerguide/bp-use-s3-too.md b/amazondynamodb/latest/developerguide/bp-use-s3-too.md index abed062a7..76d1b78ff 100644 --- a/amazondynamodb/latest/developerguide/bp-use-s3-too.md +++ b/amazondynamodb/latest/developerguide/bp-use-s3-too.md @@ -11 +11 @@ Amazon DynamoDB limits the size of each item that you store in a table to 400 KB -As a best practice, you should utilize the [`ReturnConsumedCapacity`](https://docs.aws.amazon.com/AWSJavaSDK/latest/javadoc/com/amazonaws/services/dynamodbv2/model/ReturnConsumedCapacity.html) parameter when writing items to monitor and alert on items sizes that approach the 400 KB maximum item size. Exceeding the maximum item size will result in failed write attempts. Monitoring and alerting on item sizes will enable you to mitigate the items size issues before they impact your application. +As a best practice, you should utilize the [`ReturnConsumedCapacity`](https://docs.aws.amazon.com/AWSJavaSDK/latest/javadoc/com/amazonaws/services/dynamodbv2/model/ReturnConsumedCapacity.html) parameter when writing items to monitor and alert on items sizes that approach the 400 KB maximum item size. Exceeding the maximum item size will result in failed write attempts. DynamoDB will return a [ValidationException error](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Programming.Errors.html). Monitoring and alerting on item sizes will enable you to mitigate the items size issues before they impact your application.