I have created user pool on cognito, I want to trigger a lambda function post the user is confirmed his identity. I am using Post Confirmation as trigger from my aws cognito user pool. What i observe is when the user is confirming is identity i am able to get the request in my lambda function. But i am not getting any user details or user attributes in my lambda function request body comes as null. Where as if i convert the same lambda to to a HTTP event and pass object from postman i am getting the request Body. Please help me to resolve this issue.
Language used is Java