@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:37.673Z") @Stability(value=Stable) public class NumberAttribute extends software.amazon.jsii.JsiiObject implements ICustomAttribute
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();
| Modifier and Type | Class and Description |
|---|---|
static class |
NumberAttribute.Builder
A fluent builder for
NumberAttribute. |
software.amazon.jsii.JsiiObject.InitializationModeICustomAttribute.Jsii$Default, ICustomAttribute.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
|
NumberAttribute() |
protected |
NumberAttribute(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
NumberAttribute(software.amazon.jsii.JsiiObjectRef objRef) |
|
NumberAttribute(NumberAttributeProps props) |
| Modifier and Type | Method and Description |
|---|---|
CustomAttributeConfig |
bind()
Bind this custom attribute type to the values as expected by CloudFormation.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected NumberAttribute(software.amazon.jsii.JsiiObjectRef objRef)
protected NumberAttribute(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public NumberAttribute(@Nullable
NumberAttributeProps props)
props - @Stability(value=Stable) public NumberAttribute()
@Stability(value=Stable) @NotNull public CustomAttributeConfig bind()
bind in interface ICustomAttributeCopyright © 2022. All rights reserved.