首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >使用amplify auth update将Cognito用户池组添加到现有的Cognito资源?

使用amplify auth update将Cognito用户池组添加到现有的Cognito资源?
EN

Stack Overflow用户
提问于 2020-08-21 14:43:54
回答 1查看 408关注 0票数 1

我已经在Amplify CLI应用程序中使用了Cognito。我可以使用amplify update auth安全地添加Cognito用户池组吗

代码语言:javascript
复制
amplify update auth
Please note that certain attributes may not be overwritten if you choose to use defaults settings
.

You have configured resources that might depend on this Cognito resource.  Updating this Cognito 
resource could have unintended side effects.

Using service: Cognito, provided by: awscloudformation
 What do you want to do? (Use arrow keys)
  Apply default configuration with Social Provider (Federation) 
  Walkthrough all the auth configurations 
❯ Create or update Cognito user pool groups 
  Create or update Admin queries API
EN

回答 1

Stack Overflow用户

发布于 2021-02-11 04:03:47

是的,您可以放心地使用

代码语言:javascript
复制
amplify update auth

要添加或更新组,请执行以下操作。

完成后,确保运行以下命令:

代码语言:javascript
复制
amplify auth push

代码语言:javascript
复制
amplify push

所以它会应用这些更改。它需要几分钟才能运行。

您可以使用

代码语言:javascript
复制
amplify init
amplify pull auth

首先拉出所有的资源。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/63517774

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档