(Originally published elsewhere in 2018), AWS Cognito User Pools, Lambda and Box integration example