amazon-cognito - 使用 amplify auth update 将 Cognito 用户池组添加到现有 Cognito 资源?
问题描述
我已经在我的 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
解决方案
是的,您可以安全地使用
amplify update auth
添加或更新组。
完成后确保运行:
amplify auth push
或者
amplify push
因此它应用了更改。运行需要几分钟。
您可以使用
amplify init
amplify pull auth
首先拉取所有资源。
推荐阅读
- javascript - 带有 JavaScript 的按钮
- node.js - Node/Express 服务器未从 Laravel 服务器订阅已发布的 Redis
- typo3-10.x - TYPO3 - 将 V9.5.31 升级到 V10.4.21 错误
- c# - IdentityServer4:登录后 MVCC 来回循环
- android - 如何在 AccessibilityService 中模拟 ACTION_UP 事件
- javascript - 如何在javascript中过滤从html中获取的数据
- python - 在类中定义一个列表并调用它并在python中的函数中使用它
- javascript - 拒绝应用来自 'http://localhost:2000/cssFile/style.css' 的样式,因为它的 MIME 类型('text/html')
- python-3.x - How to inherit a function from the main code and execute it inside the module. (this also applies to variables)
- react-native - Text alignment is off after being wrapped with Pressable