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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing StringAttributeConstraintsType as input to an Aws::Client method, you can use a vanilla Hash:

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

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

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#max_lengthString

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

Returns:

  • (String)

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

#min_lengthString

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

Returns:

  • (String)

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