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

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#max_lengthString

The maximum length.

Returns:

  • (String)

    The maximum length.

#min_lengthString

The minimum length.

Returns:

  • (String)

    The minimum length.