UserPoolSchema class

Constructors

UserPoolSchema({required Input<String> attributeDataType, Input<bool?>? developerOnlyAttribute, Input<bool?>? mutable, required Input<String> name, Input<UserPoolSchemaNumberAttributeConstraints?>? numberAttributeConstraints, Input<bool?>? required, Input<UserPoolSchemaStringAttributeConstraints?>? stringAttributeConstraints})
Creates a new UserPoolSchema. attributeDataType Attribute data type. Must be one of Boolean, Number, String, DateTime. developerOnlyAttribute Whether the attribute type is developer only. mutable Whether the attribute can be changed once it has been created. name Name of the attribute. numberAttributeConstraints Configuration block for the constraints for an attribute of the number type. Detailed below. required 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. stringAttributeConstraints Constraints for an attribute of the string type. Detailed below.
const
UserPoolSchema.fromMap(Map<String, dynamic> map)
factory

Properties

attributeDataType → Input<String>
Attribute data type. Must be one of Boolean, Number, String, DateTime.
final
developerOnlyAttribute → Input<bool?>?
Whether the attribute type is developer only.
final
hashCode → int
The hash code for this object.
no setterinherited
mutable → Input<bool?>?
Whether the attribute can be changed once it has been created.
final
name → Input<String>
Name of the attribute.
final
numberAttributeConstraints → Input<UserPoolSchemaNumberAttributeConstraints?>?
Configuration block for the constraints for an attribute of the number type. Detailed below.
final
required → Input<bool?>?
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.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
stringAttributeConstraints → Input<UserPoolSchemaStringAttributeConstraints?>?
Constraints for an attribute of the string type. Detailed below.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited