Triggering a Lambda function upon deleting a user on AWS Cognito User Pool : <p>AWS Cognito User Pools have some pre-defined events to handle user signup, confirmation etc. The full list is <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-working-with-aws-lambda-triggers.html#cognito-user-pools-lambda-trigger-event-parameter-shared" rel="noreferrer">here</a>.</p>

<p>However, there is no apparent trigger for <strong>deleting a user</strong>. </p>

<p>So, is there any way one can trigger a Lambda function when a user is deleted from Cognito User Pool (of course, with arguments like username and/or email address)?</p>
