Class: Aws::CognitoIdentityProvider::Types::NumberAttributeConstraintsType

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-cognitoidentityprovider/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 and UpdateUserPool, and displays the length constraints of all number-type attributes in the response to DescribeUserPool

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#max_valueString

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.

Returns:

  • (String)


8615
8616
8617
8618
8619
8620
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 8615

class NumberAttributeConstraintsType < Struct.new(
  :min_value,
  :max_value)
  SENSITIVE = []
  include Aws::Structure
end

#min_valueString

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

Returns:

  • (String)


8615
8616
8617
8618
8619
8620
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 8615

class NumberAttributeConstraintsType < Struct.new(
  :min_value,
  :max_value)
  SENSITIVE = []
  include Aws::Structure
end