简体   繁体   English

AWS Cognito UserPool RecoveryOptions - CloudFormation 与控制台

[英]AWS Cognito UserPool RecoveryOptions - CloudFormation vs Console

Are the recovery options available via CloudFormation really limited compared to those in the console (seem image below) or am I missing something?与控制台中的恢复选项相比, 通过 CloudFormation提供的恢复选项是否真的有限(见下图),还是我遗漏了什么?

CloudFormation:云形成: 在此处输入图像描述

Console:安慰: 在此处输入图像描述

No, i think it has it all.不,我认为它拥有一切。 RecoveryMechanisms is List of options or may be skipped. RecoveryMechanisms 是选项列表或可能被跳过。 Options has priority setting too.选项也有优先级设置。

Following your screenshot:按照你的截图:

在此处输入图像描述

for #1 - provide 2 mechanisms (phone & email), with priority for email对于 #1 - 提供 2 种机制(电话和电子邮件),优先考虑 email

for #2 - provide 2 mechanism (phone & email), with priority for phone对于 #2 - 提供 2 机制(电话和电子邮件),电话优先

for #3 - email only仅用于#3 - email

for #4 - phone only #4 - 仅限电话

for # 5 - Skip AccountRecoverySetting from UserPool and you have legacy (Not Recommended) option.对于# 5 - 从 UserPool 中跳过AccountRecoverySetting并且您有旧版(不推荐)选项。 docs 文档

for # 6 - Then you can define admin only, which is last one.对于 # 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-accountrecoverysetting.html

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM