Show / Hide Table of Contents

Class CfnUserPoolPropsMixin.AccountRecoverySettingProperty

The available verified method a user can use to recover their password when they call ForgotPassword .

Inheritance
object
CfnUserPoolPropsMixin.AccountRecoverySettingProperty
Implements
CfnUserPoolPropsMixin.IAccountRecoverySettingProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.Mixins.Preview.AWS.Cognito.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnUserPoolPropsMixin.AccountRecoverySettingProperty : CfnUserPoolPropsMixin.IAccountRecoverySettingProperty
Syntax (vb)
Public Class CfnUserPoolPropsMixin.AccountRecoverySettingProperty Implements CfnUserPoolPropsMixin.IAccountRecoverySettingProperty
Remarks

You can use this setting to define a preferred method when a user has more than one method available. With this setting, SMS doesn't qualify for a valid password recovery mechanism if the user also has SMS multi-factor authentication (MFA) activated. In the absence of this setting, Amazon Cognito uses the legacy behavior to determine the recovery method where SMS is preferred through email.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-accountrecoverysetting.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.Mixins.Preview.AWS.Cognito.Mixins;

             var accountRecoverySettingProperty = new AccountRecoverySettingProperty {
                 RecoveryMechanisms = new [] { new RecoveryOptionProperty {
                     Name = "name",
                     Priority = 123
                 } }
             };

Synopsis

Constructors

AccountRecoverySettingProperty()

The available verified method a user can use to recover their password when they call ForgotPassword .

Properties

RecoveryMechanisms

The list of options and priorities for user message delivery in forgot-password operations.

Constructors

AccountRecoverySettingProperty()

The available verified method a user can use to recover their password when they call ForgotPassword .

public AccountRecoverySettingProperty()
Remarks

You can use this setting to define a preferred method when a user has more than one method available. With this setting, SMS doesn't qualify for a valid password recovery mechanism if the user also has SMS multi-factor authentication (MFA) activated. In the absence of this setting, Amazon Cognito uses the legacy behavior to determine the recovery method where SMS is preferred through email.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-accountrecoverysetting.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.Mixins.Preview.AWS.Cognito.Mixins;

             var accountRecoverySettingProperty = new AccountRecoverySettingProperty {
                 RecoveryMechanisms = new [] { new RecoveryOptionProperty {
                     Name = "name",
                     Priority = 123
                 } }
             };

Properties

RecoveryMechanisms

The list of options and priorities for user message delivery in forgot-password operations.

public object? RecoveryMechanisms { get; set; }
Property Value

object

Remarks

Sets or displays user pool preferences for email or SMS message priority, whether users should fall back to a second delivery method, and whether passwords should only be reset by administrators.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-accountrecoverysetting.html#cfn-cognito-userpool-accountrecoverysetting-recoverymechanisms

Type union: either IResolvable or (either IResolvable or CfnUserPoolPropsMixin.IRecoveryOptionProperty)[]

Implements

CfnUserPoolPropsMixin.IAccountRecoverySettingProperty
Back to top Generated by DocFX