Class: Aws::CognitoIdentityProvider::Types::NumberAttributeConstraintsType
- Inherits:
-
Struct
- Object
- Struct
- Aws::CognitoIdentityProvider::Types::NumberAttributeConstraintsType
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-cognitoidentityprovider/types.rb
Overview
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][2
-
and [UpdateUserPool], and displays the length
constraints of all number-type attributes in the response to
- DescribeUserPool][4
-
[1]: docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_SchemaAttributeType.html [2]: docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_CreateUserPool.html [3]: docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_UpdateUserPool.html [4]: docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_DescribeUserPool.html
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#max_value ⇒ String
The maximum length of a number attribute value.
-
#min_value ⇒ String
The minimum value of an attribute that is of the number data type.
Instance Attribute Details
#max_value ⇒ String
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.
8615 8616 8617 8618 8619 8620 |
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 8615 class NumberAttributeConstraintsType < Struct.new( :min_value, :max_value) SENSITIVE = [] include Aws::Structure end |
#min_value ⇒ String
The minimum value of an attribute that is of the number data type.
8615 8616 8617 8618 8619 8620 |
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 8615 class NumberAttributeConstraintsType < Struct.new( :min_value, :max_value) SENSITIVE = [] include Aws::Structure end |