1

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

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
4

1 回答 1

0

是的,您可以安全地使用

amplify update auth

添加或更新组。

完成后确保运行:

amplify auth push

或者

amplify push

因此它应用了更改。运行需要几分钟。

您可以使用

amplify init
amplify pull auth

首先拉取所有资源。

于 2021-02-10T20:03:46.773 回答