AWS::Cognito::UserPool StringAttributeConstraints - AWS CloudFormation
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

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::UserPool StringAttributeConstraints

The minimum and maximum length values of an attribute that is of the string type, for example custom:department.

Syntax

To declare this entity in your CloudFormation template, use the following syntax:

JSON

{ "MaxLength" : String, "MinLength" : String }

YAML

MaxLength: String MinLength: String

Properties

MaxLength

The maximum length of a string attribute value. Must be a number less than or equal to 2^1023, represented as a string with a length of 131072 characters or fewer.

Required: No

Type: String

Minimum: 0

Maximum: 131072

Update requires: No interruption

MinLength

The minimum length of a string attribute value.

Required: No

Type: String

Minimum: 0

Maximum: 131072

Update requires: No interruption