AWS - Is there a way to 'hook' into when a federated identity is created for the first time?
- 阅读更多 关于 AWS - Is there a way to 'hook' into when a federated identity is created for the first time?
问题 I have a Cognito Identity Pool that is used to authenticate my front end users, as well as give them certain permissions in my application. However, I have encountered an issue with giving these users permission to access IoT, which involves invoking a Lambda calling iot.addPrincipalPolicy() , and once that is done then everything works flawlessly. However, the issue I am facing is that right now I am running this function is being called every time my user requests authentication, when it