AWS CloudFormation
User Guide (Version )

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.

Required: No

Type: String

Update requires: No interruption

MinLength

The minimum length.

Required: No

Type: String

Update requires: No interruption

On this page: