AWS cognito documentation change
Summary
Expanded custom attribute data types to include boolean and DateTime, with console limitations noted
Security assessment
Clarifies technical capabilities without addressing security vulnerabilities or describing security features. Data type expansion is a functional update.
Diff
diff --git a/cognito/latest/developerguide/user-pool-settings-attributes.md b/cognito/latest/developerguide/user-pool-settings-attributes.md index c2c20b3bc..706805271 100644 --- a//cognito/latest/developerguide/user-pool-settings-attributes.md +++ b//cognito/latest/developerguide/user-pool-settings-attributes.md @@ -360 +360,5 @@ You can add up to 50 custom attributes to your user pool. You can specify a mini - * You can define it as a string or a number. Amazon Cognito writes custom attribute values to the ID token only as strings. + * You can define it as a string, number, boolean, or `DateTime` object. Amazon Cognito writes custom attribute values to the ID token only as strings. + +###### Note + +In the Amazon Cognito console, you can add custom attributes only of the string and number data types. Additional options like boolean and `DateTime` attribute data types are only available in the `SchemaAttributes` property of [CreateUserPool](https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_CreateUserPool.html) and [UpdateUserPool](https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_UpdateUserPool.html) API requests.