@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:37.601Z") @Stability(value=Stable) public class BooleanAttribute 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 |
BooleanAttribute.Builder
A fluent builder for
BooleanAttribute. |
software.amazon.jsii.JsiiObject.InitializationModeICustomAttribute.Jsii$Default, ICustomAttribute.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
|
BooleanAttribute() |
|
BooleanAttribute(CustomAttributeProps props) |
protected |
BooleanAttribute(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
BooleanAttribute(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 BooleanAttribute(software.amazon.jsii.JsiiObjectRef objRef)
protected BooleanAttribute(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public BooleanAttribute(@Nullable
CustomAttributeProps props)
props - @Stability(value=Stable) public BooleanAttribute()
@Stability(value=Stable) @NotNull public CustomAttributeConfig bind()
bind in interface ICustomAttributeCopyright © 2022. All rights reserved.