You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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

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

Overview

Note:

When making an API call, you may pass StringAttributeConstraintsType data as a hash:

{
  min_length: "StringType",
  max_length: "StringType",
}

The type of constraints associated with an attribute of the string type.

Instance Attribute Summary collapse

Instance Attribute Details

#max_lengthString

The maximum length of an attribute value of the string type.

Returns:

  • (String)


4837
4838
4839
4840
4841
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 4837

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

#min_lengthString

The minimum length of an attribute value of the string type.

Returns:

  • (String)


4837
4838
4839
4840
4841
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 4837

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