Interface CfnUserPool.IStringAttributeConstraintsProperty
The StringAttributeConstraints
property type defines the string attribute constraints of an Amazon Cognito user pool.
Namespace: Amazon.CDK.AWS.Cognito
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IStringAttributeConstraintsProperty
Syntax (vb)
Public Interface IStringAttributeConstraintsProperty
Remarks
StringAttributeConstraints
is a subproperty of the SchemaAttribute property type.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Cognito;
var stringAttributeConstraintsProperty = new StringAttributeConstraintsProperty {
MaxLength = "maxLength",
MinLength = "minLength"
};
Synopsis
Properties
MaxLength | The maximum length of a string attribute value. |
MinLength | The minimum length. |
Properties
MaxLength
The maximum length of a string attribute value.
virtual string MaxLength { get; }
Property Value
System.String
Remarks
Must be a number less than or equal to 2^1023
, represented as a string with a length of 131072 characters or fewer.
MinLength
The minimum length.
virtual string MinLength { get; }
Property Value
System.String