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

Amazon Cognito UserPool StringAttributeConstraints

StringAttributeConstraints is a property of the Amazon Cognito UserPool SchemaAttribute resource that defines the string attribute constraints of an Amazon Cognito User Pool.

Syntax

JSON

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

YAML

Copy
{ MaxLength: String MinLength: String }

Properties

MaxLength

The maximum length of an attribute value of the string type.

Type: String

Required: No

MinLength

The minimum length of an attribute value of the string type.

Type: String

Required: No

On this page: