Interface StringAttributeProps
- All Superinterfaces:
CustomAttributeProps
,software.amazon.jsii.JsiiSerializable
,StringAttributeConstraints
- All Known Implementing Classes:
StringAttributeProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-22T02:23:59.177Z")
@Stability(Stable)
public interface StringAttributeProps
extends software.amazon.jsii.JsiiSerializable, StringAttributeConstraints, CustomAttributeProps
Props for constructing a StringAttr.
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
Modifier and TypeInterfaceDescriptionstatic final class
A builder forStringAttributeProps
static final class
An implementation forStringAttributeProps
-
Method Summary
Methods inherited from interface software.amazon.awscdk.services.cognito.CustomAttributeProps
getMutable
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
Methods inherited from interface software.amazon.awscdk.services.cognito.StringAttributeConstraints
getMaxLen, getMinLen
-
Method Details
-
builder
- Returns:
- a
StringAttributeProps.Builder
ofStringAttributeProps
-