StringAttributeConstraintsProperty Struct
The minimum and maximum length values of an attribute that is of the string type, for example custom:department .
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_cognito as cognito } from 'aws-cdk-lib';
const stringAttributeConstraintsProperty: cognito.CfnUserPool.StringAttributeConstraintsProperty = {
maxLength: 'maxLength',
minLength: 'minLength',
};
Properties
maxLengthoptionalstringmax_lengthoptionalstrmaxLengthoptionalStringMaxLengthoptionalstringMaxLengthoptional*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.
minLengthoptionalstringmin_lengthoptionalstrminLengthoptionalStringMinLengthoptionalstringMinLengthoptional*string#The minimum length of a string attribute value.