Class BooleanAttribute

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.cognito.BooleanAttribute
All Implemented Interfaces:
ICustomAttribute, software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.101.0 (build b95fe5d)", date="2024-07-12T19:33:59.407Z") @Stability(Stable) public class BooleanAttribute extends software.amazon.jsii.JsiiObject implements ICustomAttribute
The Boolean 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();
 
  • Constructor Details

    • BooleanAttribute

      protected BooleanAttribute(software.amazon.jsii.JsiiObjectRef objRef)
    • BooleanAttribute

      protected BooleanAttribute(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • BooleanAttribute

      @Stability(Stable) public BooleanAttribute(@Nullable CustomAttributeProps props)
      Parameters:
      props -
    • BooleanAttribute

      @Stability(Stable) public BooleanAttribute()
  • Method Details