If you have added custom attributes to your amazon cognito user pool and they are not showing up in CognitoClaims
collection in your lambda function, check that you have actually given your application access to the attribute.
If you do not give your application access then the attribute will not be visible.
You can get information on how to modify attribute permissions at the bottom of this page.