AWS::Cognito::UserPool StringAttributeConstraints - AWS CloudFormation

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 AWS 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