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 constraints associated with a string attribute.

Instance Attribute Summary collapse

Instance Attribute Details

#max_lengthString

The maximum length.

Returns:

  • (String)


6274
6275
6276
6277
6278
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 6274

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

#min_lengthString

The minimum length.

Returns:

  • (String)


6274
6275
6276
6277
6278
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 6274

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