Cognito ユーザープールに関する設定要件について教えてください

2022.09.20

この記事は公開されてから1年以上経過しています。情報が古い可能性がありますので、ご注意ください。

困っていた内容

Cognito ユーザープールに関して、ユーザープール名やユーザー名、パスワード等を設定するにあたって、設定要件があれば教えてください。

どんな設定要件があるの?

Cognito ユーザープール名の長さは 1~128 文字である必要があります。

大文字と小文字 (a~z、A~Z)、番号 (0~9)、および 特殊文字 (+ = , . @ や -) を含めることができます。

Adding a user pool name - Amazon Cognito

User pool names must be between one and 128 characters long.

They can contain uppercase and lowercase letters (a-z, A-Z), numbers (0-9), and the following special characters: + = , . @ and -.

また、Cognito ユーザープールに設定するユーザー名においても、長さは 1~128 文字である必要がります。

AdminCreateUser - Amazon Cognito

The username for the user.

Must be unique within the user pool.

Must be a UTF-8 string between 1 and 128 characters.

Length Constraints: Minimum length of 1. Maximum length of 128.

SignUp - Amazon Cognito

Username

The user name of the user you want to register.

Length Constraints: Minimum length of 1. Maximum length of 128.

アプリユーザーのパスワード要件については 8 文字を最小長とするパスワードを指定する必要があります。

また、大文字、数字、特殊文字が必要です。

Adding user pool password requirements - Amazon Cognito

To create strong passwords for your app users, specify a minimum password length of at least eight characters.

Also require uppercase, numeric, and special characters.

Cognito ユーザープールに関して、その他の要件や設定に関する詳細については、こちらから適宜ご参照ください。

参考資料