Class: Aws::CognitoIdentityProvider::Types::StringAttributeConstraintsType

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#max_lengthString

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.

Returns:

  • (String)


10165
10166
10167
10168
10169
10170
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 10165

class StringAttributeConstraintsType < Struct.new(
  :min_length,
  :max_length)
  SENSITIVE = []
  include Aws::Structure
end

#min_lengthString

The minimum length of a string attribute value.

Returns:

  • (String)


10165
10166
10167
10168
10169
10170
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 10165

class StringAttributeConstraintsType < Struct.new(
  :min_length,
  :max_length)
  SENSITIVE = []
  include Aws::Structure
end