Class: Aws::CognitoIdentityProvider::Types::StringAttributeConstraintsType
- Inherits:
 - 
      Struct
      
        
- Object
 - Struct
 - Aws::CognitoIdentityProvider::Types::StringAttributeConstraintsType
 
 
- Includes:
 - Structure
 
- Defined in:
 - lib/aws-sdk-cognitoidentityprovider/types.rb
 
Overview
The minimum and maximum length values of an attribute that is of the string type, for example ‘custom:department`.
This data type is part of [SchemaAttributeType]. It defines the length constraints on string-type attributes that you configure in
- CreateUserPool][2
 - 
and [UpdateUserPool], and displays the length
 
constraints of all string-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_length  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The maximum length of a string attribute value.
 - 
  
    
      #min_length  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The minimum length of a string attribute value.
 
Instance Attribute Details
#max_length ⇒ String
The maximum length of a string 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.
      10495 10496 10497 10498 10499 10500  | 
    
      # File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 10495 class StringAttributeConstraintsType < Struct.new( :min_length, :max_length) SENSITIVE = [] include Aws::Structure end  | 
  
#min_length ⇒ String
The minimum length of a string attribute value.
      10495 10496 10497 10498 10499 10500  | 
    
      # File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 10495 class StringAttributeConstraintsType < Struct.new( :min_length, :max_length) SENSITIVE = [] include Aws::Structure end  |