Class DateTimeAttribute
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.cognito.DateTimeAttribute
- All Implemented Interfaces:
ICustomAttribute,software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.120.0 (build 192dc88)",
date="2025-12-05T22:26:33.334Z")
@Stability(Stable)
public class DateTimeAttribute
extends software.amazon.jsii.JsiiObject
implements ICustomAttribute
The DateTime custom attribute type.
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 ClassesNested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.cognito.ICustomAttribute
ICustomAttribute.Jsii$Default, ICustomAttribute.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDateTimeAttribute(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedDateTimeAttribute(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionbind()Bind this custom attribute type to the values as expected by CloudFormation.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
DateTimeAttribute
protected DateTimeAttribute(software.amazon.jsii.JsiiObjectRef objRef) -
DateTimeAttribute
protected DateTimeAttribute(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
DateTimeAttribute
- Parameters:
props-
-
DateTimeAttribute
@Stability(Stable) public DateTimeAttribute()
-
-
Method Details
-
bind
Bind this custom attribute type to the values as expected by CloudFormation.- Specified by:
bindin interfaceICustomAttribute
-