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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-cognitoidentityprovider/types.rb

Overview

The constraints associated with a string attribute.

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)


8460
8461
8462
8463
8464
8465
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 8460

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

#min_lengthString

The minimum length.

Returns:

  • (String)


8460
8461
8462
8463
8464
8465
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 8460

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