Menu
AWS CloudFormation
User Guide (API Version 2010-05-15)

Amazon Cognito UserPool StringAttributeConstraints

The StringAttributeConstraints property type defines the string attribute constraints of an Amazon Cognito User Pool. StringAttributeConstraints is a subproperty of the Amazon Cognito UserPool SchemaAttribute property type.

Syntax

JSON

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

YAML

Copy
MaxLength: String MinLength: String

Properties

MaxLength

The maximum value of an attribute that is of the string data type.

Type: String

Required: No

MinLength

The minimum value of an attribute that is of the string data type.

Type: String

Required: No

On this page: