NumberAttributeConstraintsType - Amazon Cognito User Pools

NumberAttributeConstraintsType

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

Contents

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.

Type: String

Length Constraints: Minimum length of 0. Maximum length of 131072.

Required: No

MinValue

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

Type: String

Length Constraints: Minimum length of 0. Maximum length of 131072.

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: