#amazon-cognito #aws-amplify #aws-amplify-cli
#amazon-cognito #aws-amplify #aws-amplify-cli
Вопрос:
Я уже использую Cognito в своем CLI-приложении Amplify. Могу ли я безопасно добавлять группы пула пользователей 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
Ответ №1:
Да, вы можете безопасно использовать
amplify update auth
чтобы добавить или обновить группы.
Когда вы закончите, обязательно запустите:
amplify auth push
или
amplify push
Таким образом, он применяет изменения. Запуск займет несколько минут.
Вы можете использовать
amplify init
amplify pull auth
чтобы сначала извлечь все ресурсы.