amazon-web-services - AWS Cognito 用户池恢复选项 - CloudFormation 与控制台

标签 amazon-web-services aws-cloudformation amazon-cognito

恢复选项是否可用 via CloudFormation与控制台中的相比确实有限(如下图所示),还是我遗漏了一些东西?

云形成: enter image description here

控制台: enter image description here

最佳答案

不,我认为它拥有一切。 RecoveryMechanisms 是选项列表,也可以被跳过。选项也有优先级设置。

按照您的屏幕截图:

enter image description here

对于 #1 - 提供 2 种机制(电话和电子邮件),其中电子邮件优先

对于 #2 - 提供 2 种机制(电话和电子邮件),电话优先

对于 #3 - 仅电子邮件

#4 - 仅手机

对于 # 5 - 从 UserPool 中跳过 AccountRecoverySetting,您将拥有旧版(不推荐)选项。 docs

对于 # 6 - 然后您可以仅定义 admin,这是最后一个。

https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-accountrecoverysetting.html

https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-recoveryoption.html

关于amazon-web-services - AWS Cognito 用户池恢复选项 - CloudFormation 与控制台,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/70979396/

相关文章:

amazon-web-services - 在 AWS CDK 中设置 "Enforce inbound rules on PrivateLink traffic"设置

amazon-web-services - 如何使用 GoLang 拒绝注册触发器

angularjs - 如何使用 nginx + docker 将 AngularJS 应用程序部署到 Elastic Beanstalk?

amazon-web-services - AWS ElastiCache redis 和 maxmemory

amazon-web-services - 云形成完成后如何发送SNS通知?

amazon-web-services - ec2 堆栈在重新启动时不会更新

amazon-web-services - AWS Amplify (AppSync + Cognito) 授权使用每个组织/租户的动态组

amazon-web-services - 允许外部用户(通过 Cognito)访问 S3 存储桶和控制台

windows - 在 EC2 用户数据中调用 PowerShell 脚本不起作用

amazon-web-services - 使用 GSuite/Google Workspace 作为 AWS SSO 的 IdP 时,为什么会出现无效的 MFA 错误