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
Great starter course. Thank you. fyi Lots of examples on serverless site. I created my own aws lamdba service written in typescript and with jest unit tests https://github.com/denisos/aws-appointment-service