Cognito details not being passed to Lambda through AppSync
I’m creating an app that utilises Lambda that is called with AppSync (both setup within aws_cdk). In the Lambda’s I need to use the logged in user (done via cognito) details within it to retrieve data per person (I don’t want to pass user data in args as don’t want it being manipulated easily).