Interface CfnUserPool.IStringAttributeConstraintsProperty
The StringAttributeConstraints
property type defines the string attribute constraints of an Amazon Cognito user pool.
public interface CfnUserPool.IStringAttributeConstraintsProperty
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"
};
Remarks
StringAttributeConstraints
is a subproperty of the SchemaAttribute property type.
ExampleMetadata: fixture=_generated
Properties
MaxLength
The maximum length.
string? MaxLength { get; }
Property Value
Remarks
MinLength
The minimum length.
string? MinLength { get; }