API gateway integration to get method and post method to retrieve/insert data in DynamoDB using Lambda
API gateway integration to get method and post method to retrieve/insert data in DynamoDB using Lambda Watch the following video for hands on using AWS management console. API Gateway (Get/Post)----> Lambda ----> DynamoDB Integration 1 Get method integration in API Gateway to retrieve information from the DynamoDB table a. Create an IAM role Create an assumable IAM role. Following trust policy attached to it { "Version": "2012-10-17", "Statement": [ { "Sid": "", "Effect": "Allow", "Principal": { "Service": "apigateway.amazonaws.com" }, "Action": "sts:AssumeRole" } ] } The role must have invokefunction permission { "Version": "2012-10-17", "Statement": [ { "Effect": "Allow&q