Interface IStringAttributeConstraints
Constraints that can be applied to a custom attribute of string type.
public interface IStringAttributeConstraints
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
Properties
MaxLen
Maximum length of this attribute.
double? MaxLen { get; }
Property Value
Remarks
Default: 2048
MinLen
Minimum length of this attribute.
double? MinLen { get; }
Property Value
Remarks
Default: 0