UserPoolAccountRecoverySettingRecoveryMechanism constructor

const UserPoolAccountRecoverySettingRecoveryMechanism({
  1. required Input<String> name,
  2. required Input<int> priority,
})

Creates a new UserPoolAccountRecoverySettingRecoveryMechanism. name Recovery method for a user. Can be of the following: verifiedEmail, verifiedPhoneNumber, and adminOnly. priority Positive integer specifying priority of a method with 1 being the highest priority.

Implementation

const UserPoolAccountRecoverySettingRecoveryMechanism({
  required this.name,
  required this.priority,
});