Interface NumberAttributeProps
- All Superinterfaces:
CustomAttributeProps,software.amazon.jsii.JsiiSerializable,NumberAttributeConstraints
- All Known Implementing Classes:
NumberAttributeProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-29T11:15:35.386Z")
@Stability(Stable)
public interface NumberAttributeProps
extends software.amazon.jsii.JsiiSerializable, NumberAttributeConstraints, CustomAttributeProps
Props for NumberAttr.
Example:
UserPool.Builder.create(this, "myuserpool")
// ...
.standardAttributes(StandardAttributes.builder()
.fullname(StandardAttribute.builder()
.required(true)
.mutable(false)
.build())
.address(StandardAttribute.builder()
.required(false)
.mutable(true)
.build())
.build())
.customAttributes(Map.of(
"myappid", StringAttribute.Builder.create().minLen(5).maxLen(15).mutable(false).build(),
"callingcode", NumberAttribute.Builder.create().min(1).max(3).mutable(true).build(),
"isEmployee", BooleanAttribute.Builder.create().mutable(true).build(),
"joinedOn", new DateTimeAttribute()))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forNumberAttributePropsstatic final classAn implementation forNumberAttributeProps -
Method Summary
Static MethodsMethods inherited from interface software.amazon.awscdk.services.cognito.CustomAttributeProps
getMutableMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJsonMethods inherited from interface software.amazon.awscdk.services.cognito.NumberAttributeConstraints
getMax, getMin
-
Method Details
-
builder
- Returns:
- a
NumberAttributeProps.BuilderofNumberAttributeProps
-