I have Amazon Cognito user pool with few users added in it. I have added trigger to invoke my Lambda function after Post confirmation. Do we have any trigger in Cognito to invoke the Lambda function after "User Signout" and "Delete User". I did not see any trigger in Cognito.
How the lambda function can be invoked automatically after User signout and Delete user. Kindly throw some light on this.
答案 0 :(得分:0)
TL; DR:无法完成
它不能自动完成,因为与创建事件的登录/注册不同,本身没有注销事件。即使LOGOUT端点也只是清除现有会话。通常,在这种情况下,我们可以使用Cloudtrail完成一些解决方法,但没有用于注销的API(除非您计算GlobalSignOut),即使然后Cognito也不记录用户级API。