Class CfnUserPool.StringAttributeConstraintsProperty
The StringAttributeConstraints
property type defines the string attribute constraints of an Amazon Cognito user pool.
Inheritance
System.Object
CfnUserPool.StringAttributeConstraintsProperty
Namespace: Amazon.CDK.AWS.Cognito
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class StringAttributeConstraintsProperty : Object, CfnUserPool.IStringAttributeConstraintsProperty
Syntax (vb)
Public Class StringAttributeConstraintsProperty
Inherits Object
Implements CfnUserPool.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
Constructors
StringAttributeConstraintsProperty() |
Properties
MaxLength | The maximum length of a string attribute value. |
MinLength | The minimum length. |
Constructors
StringAttributeConstraintsProperty()
public StringAttributeConstraintsProperty()
Properties
MaxLength
The maximum length of a string attribute value.
public string MaxLength { get; set; }
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.
public string MinLength { get; set; }
Property Value
System.String