UserPoolSchemaArgs

data class UserPoolSchemaArgs(val attributeDataType: Output<String>, val developerOnlyAttribute: Output<Boolean>? = null, val mutable: Output<Boolean>? = null, val name: Output<String>, val numberAttributeConstraints: Output<UserPoolSchemaNumberAttributeConstraintsArgs>? = null, val required: Output<Boolean>? = null, val stringAttributeConstraints: Output<UserPoolSchemaStringAttributeConstraintsArgs>? = null) : ConvertibleToJava<UserPoolSchemaArgs>

Constructors

Link copied to clipboard
constructor(attributeDataType: Output<String>, developerOnlyAttribute: Output<Boolean>? = null, mutable: Output<Boolean>? = null, name: Output<String>, numberAttributeConstraints: Output<UserPoolSchemaNumberAttributeConstraintsArgs>? = null, required: Output<Boolean>? = null, stringAttributeConstraints: Output<UserPoolSchemaStringAttributeConstraintsArgs>? = null)

Properties

Link copied to clipboard

Attribute data type. Must be one of Boolean, Number, String, DateTime.

Link copied to clipboard
val developerOnlyAttribute: Output<Boolean>? = null

Whether the attribute type is developer only.

Link copied to clipboard
val mutable: Output<Boolean>? = null

Whether the attribute can be changed once it has been created.

Link copied to clipboard
val name: Output<String>

Name of the attribute.

Link copied to clipboard

Configuration block for the constraints for an attribute of the number type. Detailed below.

Link copied to clipboard
val required: Output<Boolean>? = null

Whether a user pool attribute is required. If the attribute is required and the user does not provide a value, registration or sign-in will fail.

Link copied to clipboard

Constraints for an attribute of the string type. Detailed below.

Functions

Link copied to clipboard
open override fun toJava(): UserPoolSchemaArgs