IAM policy to grant read-only permissions on items in a DynamoDB table
The following permissions policy grants permissions for the GetItem,
BatchGetItem, Scan, Query, and
ConditionCheckItem DynamoDB actions only, and as a result, sets
read-only access on the Books table.