GetUserPoolSchemaAttribute constructor

const GetUserPoolSchemaAttribute({
  1. required Input<String> attributeDataType,
  2. required Input<bool> developerOnlyAttribute,
  3. required Input<bool> mutable,
  4. required Input<String> name,
  5. required Input<List<GetUserPoolSchemaAttributeNumberAttributeConstraint>> numberAttributeConstraints,
  6. required Input<bool> required,
  7. required Input<List<GetUserPoolSchemaAttributeStringAttributeConstraint>> stringAttributeConstraints,
})

Creates a new GetUserPoolSchemaAttribute. attributeDataType - Data type of the attribute (e.g., string, number). developerOnlyAttribute - Whether the attribute is for developer use only. mutable - Whether the attribute can be changed after user creation. name - Name of the attribute. numberAttributeConstraints Required. required - Whether the attribute is required during user registration. stringAttributeConstraints Required.

Implementation

const GetUserPoolSchemaAttribute({
  required this.attributeDataType,
  required this.developerOnlyAttribute,
  required this.mutable,
  required this.name,
  required this.numberAttributeConstraints,
  required this.required,
  required this.stringAttributeConstraints,
});