AWS::Cognito::UserPool NumberAttributeConstraints - 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 NumberAttributeConstraints

The minimum and maximum values of an attribute that is of the number type, for example custom:age.

This data type is part of SchemaAttributeType. It defines the length constraints on number-type attributes that you configure in CreateUserPool and UpdateUserPool, and displays the length constraints of all number-type attributes in the response to DescribeUserPool

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

{ "MaxValue" : String, "MinValue" : String }

YAML

MaxValue: String MinValue: String

Properties

MaxValue

The maximum length of a number 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

MinValue

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

Required: No

Type: String

Minimum: 0

Maximum: 131072

Update requires: No interruption