Deploy an AWS Lambda to retrieve a record from DynamoDB with the Serverless Framework

InstructorNik Graf

Share this video with your friends

Send Tweet

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.

Dominik Sipowicz
~ 6 years ago

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

Denis OSullivan
~ 3 years ago

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