@Generated(value="jsii-pacmak/1.71.0 (build f1f58ae)", date="2022-12-07T17:24:44.580Z") @Stability(value=Stable) public class DateTimeAttribute 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 |
DateTimeAttribute.Builder
A fluent builder for
DateTimeAttribute. |
software.amazon.jsii.JsiiObject.InitializationModeICustomAttribute.Jsii$Default, ICustomAttribute.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
|
DateTimeAttribute() |
|
DateTimeAttribute(CustomAttributeProps props) |
protected |
DateTimeAttribute(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
DateTimeAttribute(software.amazon.jsii.JsiiObjectRef objRef) |
| 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 DateTimeAttribute(software.amazon.jsii.JsiiObjectRef objRef)
protected DateTimeAttribute(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public DateTimeAttribute(@Nullable
CustomAttributeProps props)
props - @Stability(value=Stable) public DateTimeAttribute()
@Stability(value=Stable) @NotNull public CustomAttributeConfig bind()
bind in interface ICustomAttributeCopyright © 2022. All rights reserved.