Class StringAttributeConstraints
Constraints that can be applied to a custom attribute of string type.
Inheritance
System.Object
StringAttributeConstraints
Implements
Namespace: Amazon.CDK.AWS.Cognito
Assembly: Amazon.CDK.AWS.Cognito.dll
Syntax (csharp)
public class StringAttributeConstraints : Object, IStringAttributeConstraints
Syntax (vb)
Public Class StringAttributeConstraints
Inherits Object
Implements IStringAttributeConstraints
Remarks
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 stringAttributeConstraints = new StringAttributeConstraints {
MaxLen = 123,
MinLen = 123
};
Synopsis
Constructors
StringAttributeConstraints() |
Properties
MaxLen | Maximum length of this attribute. |
MinLen | Minimum length of this attribute. |
Constructors
StringAttributeConstraints()
public StringAttributeConstraints()
Properties
MaxLen
Maximum length of this attribute.
public Nullable<double> MaxLen { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
Default: 2048
MinLen
Minimum length of this attribute.
public Nullable<double> MinLen { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
Default: 0