Update Lambda policy to access DynamoDB tables

  1. At the IAM interface
  • At the IAM interface
  1. Complete the policy and copy paste the JSON

  • Select Next
  1. Click Review and create Policy name: Access-DynamoDB-ChatApp
  • Select Create policy
  1. Find and choose Role: Lambda-Role-ChatApp
  2. Choose Add permissions
  • Choose Attach policies
  1. Tick Policy : Access-DynamoDB-ChatApp
  2. Choose Add Permission