This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.
AWS::Cognito::UserPoolUser AttributeType
The name and value of a user attribute.
Syntax
To declare this entity in your CloudFormation template, use the following syntax:
Properties
Name-
The name of the attribute, for example
emailorcustom:department.In some older user pools, the regex pattern for acceptable values of this parameter is
[\p{L}\p{M}\p{S}\p{N}\p{P}]+. Older pools will eventually be updated to use the new pattern. Affected user pools are those created before May 2024 in US East (N. Virginia), US East (Ohio), US West (N. California), US West (Oregon), Asia Pacific (Mumbai), Asia Pacific (Tokyo), Asia Pacific (Seoul), Asia Pacific (Singapore), Asia Pacific (Sydney), Canada (Central), Europe (Frankfurt), Europe (Ireland), Europe (London), Europe (Paris), Europe (Stockholm), Middle East (Bahrain), and South America (São Paulo).Required: No
Type: String
Pattern:
[\p{L}\p{M}\p{S}\p{N}\p{P}\t\n\r ]+Minimum:
1Maximum:
32Update requires: Replacement
Value-
The value of the attribute.
Required: No
Type: String
Maximum:
2048Update requires: Replacement