InsertMode Property
How to handle values when inserting if the same primary key combination already exists in DynamoDB.
Data Type
StringDefault Value
"REPLACE"Remarks
If InsertMode is set to DONTREPLACE, an exception will be thrown from DynamoDB if you attempt to insert a value where the primary key combination already exists in DynamoDB. By default there will be no exception and the item in DynamoDB will be replaced by the newly inserted value.