I'm trying to create a fully AppSync managed API.
I'm using a Custom Lambda Authorizer and I want to authenticate some mutation
s. I've read this very interesting post on nested resolvers and this stackoverflow post but I still can't find a solution to my problem.
So, I have a mutation
, say createReview
that should be solved by a DynamoDB resolver and I want my Custom Lambda Authorizer to both authorize and authenticate createReview
request.
How should this be organized?
I know I could either solve my createReview
request by using a Lambda
resolver, or that I could use AWS Cognito as Authorizer, but I'm trying to achieve right what I've asked.
Thank you for any advice