AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
A recovery option for a user. The AccountRecoverySettingType
data type is an
array of this object. Each RecoveryOptionType
has a priority property that
determines whether it is a primary or secondary option.
For example, if verified_email
has a priority of 1
and verified_phone_number
has a priority of 2
, your user pool sends account-recovery messages to a verified
email address but falls back to an SMS message if the user has a verified phone number.
The admin_only
option prevents self-service account recovery.
Namespace: Amazon.CognitoIdentityProvider.Model
Assembly: AWSSDK.CognitoIdentityProvider.dll
Version: 3.x.y.z
public class RecoveryOptionType
The RecoveryOptionType type exposes the following members
Name | Description | |
---|---|---|
![]() |
RecoveryOptionType() |
Name | Type | Description | |
---|---|---|---|
![]() |
Name | Amazon.CognitoIdentityProvider.RecoveryOptionNameType |
Gets and sets the property Name. The recovery method that this object sets a recovery option for. |
![]() |
Priority | System.Int32 |
Gets and sets the property Priority.
Your priority preference for using the specified attribute in account recovery. The
highest priority is |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5