This link provides an example of an injection-style attack, but it's not clear under what circumstances it applies, or how to avoid it.
Is it necessary to escape strings before inserting into dynamodb? How is it done?
This is the closest example of what I'm asking but that is for PhP and Mysql.