Interface CfnUserPool.StringAttributeConstraintsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnUserPool.StringAttributeConstraintsProperty.Jsii$Proxy
- Enclosing class:
CfnUserPool
@Stability(Stable)
public static interface CfnUserPool.StringAttributeConstraintsProperty
extends software.amazon.jsii.JsiiSerializable
The minimum and maximum length values of an attribute that is of the string type, for example
custom:department .
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.cognito.*;
StringAttributeConstraintsProperty stringAttributeConstraintsProperty = StringAttributeConstraintsProperty.builder()
.maxLength("maxLength")
.minLength("minLength")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnUserPool.StringAttributeConstraintsPropertystatic final classAn implementation forCfnUserPool.StringAttributeConstraintsProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getMaxLength
The maximum length of a string attribute value.Must be a number less than or equal to
2^1023, represented as a string with a length of 131072 characters or fewer.- See Also:
-
getMinLength
The minimum length of a string attribute value.- See Also:
-
builder
-