To retrieve a previously created item from a DynamoDB table we have to setup the IAM permissions for the Lambda to get an item and further implement the code using the DynamoDB DocumentClient API.
to sole error:
An error occurred: TodosDynamoDbTable - Value of property TableName must be of type String.
in Cloud Formation template you need to change self:provider.environment.DYNAMODB_TABLE
into todos