Class: Aws::CognitoIdentityProvider::Types::StringAttributeConstraintsType
- Inherits:
-
Struct
- Object
- Struct
- Aws::CognitoIdentityProvider::Types::StringAttributeConstraintsType
- Defined in:
- gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb
Overview
The minimum and maximum length values of an attribute that is of the
string type, for example custom:department
.
This data type is part of SchemaAttributeType. It defines the length constraints on string-type attributes that you configure in CreateUserPool and UpdateUserPool, and displays the length constraints of all string-type attributes in the response to DescribeUserPool
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#max_length ⇒ String
The maximum length of a string attribute value.
-
#min_length ⇒ String
The minimum length of a string attribute value.
Instance Attribute Details
#max_length ⇒ String
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.
10495 10496 10497 10498 10499 10500 |
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 10495 class StringAttributeConstraintsType < Struct.new( :min_length, :max_length) SENSITIVE = [] include Aws::Structure end |
#min_length ⇒ String
The minimum length of a string attribute value.
10495 10496 10497 10498 10499 10500 |
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 10495 class StringAttributeConstraintsType < Struct.new( :min_length, :max_length) SENSITIVE = [] include Aws::Structure end |