UserPoolSchema constructor
const
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.
Implementation
const UserPoolSchema({
required this.attributeDataType,
this.developerOnlyAttribute,
this.mutable,
required this.name,
this.numberAttributeConstraints,
this.required,
this.stringAttributeConstraints,
});