Class StringAttributeConstraints
Constraints that can be applied to a custom attribute of string type.
public class StringAttributeConstraints : IStringAttributeConstraints
- Inheritance
-
StringAttributeConstraints
- 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 stringAttributeConstraints = new StringAttributeConstraints {
MaxLen = 123,
MinLen = 123
};
Remarks
ExampleMetadata: fixture=_generated
Constructors
StringAttributeConstraints()
public StringAttributeConstraints()
Properties
MaxLen
Maximum length of this attribute.
public double? MaxLen { get; set; }
Property Value
Remarks
Default: 2048
MinLen
Minimum length of this attribute.
public double? MinLen { get; set; }
Property Value
Remarks
Default: 0