Interface CfnUserPool.NumberAttributeConstraintsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnUserPool.NumberAttributeConstraintsProperty.Jsii$Proxy
- Enclosing class:
CfnUserPool
@Stability(Stable)
public static interface CfnUserPool.NumberAttributeConstraintsProperty
extends software.amazon.jsii.JsiiSerializable
The minimum and maximum values of an attribute that is of the number type, for example
custom:age
.
This data type is part of API_SchemaAttributeType
. It defines the length constraints on number-type attributes that you configure in API_CreateUserPool
and API_UpdateUserPool
, and displays the length constraints of all number-type attributes in the response to API_DescribeUserPool
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.*; NumberAttributeConstraintsProperty numberAttributeConstraintsProperty = NumberAttributeConstraintsProperty.builder() .maxValue("maxValue") .minValue("minValue") .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnUserPool.NumberAttributeConstraintsProperty
static final class
An implementation forCfnUserPool.NumberAttributeConstraintsProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getMaxValue
The maximum length of a number 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:
-
getMinValue
The minimum value of an attribute that is of the number data type.- See Also:
-
builder
-