Interface IStringAttributeConstraints
Constraints that can be applied to a custom attribute of string type.
Namespace: Amazon.CDK.AWS.Cognito
Assembly: Amazon.CDK.AWS.Cognito.dll
Syntax (csharp)
public interface IStringAttributeConstraints
Syntax (vb)
Public Interface 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
Properties
MaxLen | Maximum length of this attribute. |
MinLen | Minimum length of this attribute. |
Properties
MaxLen
Maximum length of this attribute.
virtual Nullable<double> MaxLen { get; }
Property Value
System.Nullable<System.Double>
Remarks
Default: 2048
MinLen
Minimum length of this attribute.
virtual Nullable<double> MinLen { get; }
Property Value
System.Nullable<System.Double>
Remarks
Default: 0