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).

AWS::Cognito::UserPool StringAttributeConstraints

The StringAttributeConstraints property type defines the string attribute constraints of an Amazon Cognito user pool. StringAttributeConstraints is a subproperty of the SchemaAttribute property type.

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.

Required: No

Type: String

Minimum: 0

Maximum: 131072

Update requires: No interruption