interface StringAttributeConstraintsProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Cognito.CfnUserPool.StringAttributeConstraintsProperty |
Java | software.amazon.awscdk.services.cognito.CfnUserPool.StringAttributeConstraintsProperty |
Python | aws_cdk.aws_cognito.CfnUserPool.StringAttributeConstraintsProperty |
TypeScript | @aws-cdk/aws-cognito » CfnUserPool » StringAttributeConstraintsProperty |
The StringAttributeConstraints
property type defines the string attribute constraints of an Amazon Cognito user pool.
StringAttributeConstraints
is a subproperty of the SchemaAttribute property type.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as cognito from '@aws-cdk/aws-cognito';
const stringAttributeConstraintsProperty: cognito.CfnUserPool.StringAttributeConstraintsProperty = {
maxLength: 'maxLength',
minLength: 'minLength',
};
Properties
Name | Type | Description |
---|---|---|
max | string | The maximum length. |
min | string | The minimum length. |
maxLength?
Type:
string
(optional)
The maximum length.
minLength?
Type:
string
(optional)
The minimum length.