AWS::Cognito::UserPool StringAttributeConstraints - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

This is the new Amazon CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the Amazon 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 Amazon 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