Class CfnUserPool.StringAttributeConstraintsProperty
The StringAttributeConstraints
property type defines the string attribute constraints of an Amazon Cognito user pool.
public class CfnUserPool.StringAttributeConstraintsProperty : CfnUserPool.IStringAttributeConstraintsProperty
- Inheritance
-
CfnUserPool.StringAttributeConstraintsProperty
- Implements
- Inherited Members
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
Constructors
StringAttributeConstraintsProperty()
public StringAttributeConstraintsProperty()
Properties
MaxLength
The maximum length.
public string? MaxLength { get; set; }
Property Value
Remarks
MinLength
The minimum length.
public string? MinLength { get; set; }