aws-cdk-lib.aws_cognito.CfnUserPool.RecoveryOptionProperty

interface RecoveryOptionProperty

LanguageType name
.NETAmazon.CDK.AWS.Cognito.CfnUserPool.RecoveryOptionProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awscognito#CfnUserPool_RecoveryOptionProperty
Javasoftware.amazon.awscdk.services.cognito.CfnUserPool.RecoveryOptionProperty
Pythonaws_cdk.aws_cognito.CfnUserPool.RecoveryOptionProperty
TypeScript aws-cdk-lib » aws_cognito » CfnUserPool » RecoveryOptionProperty

A map containing a priority as a key, and recovery method name as a value.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_cognito as cognito } from 'aws-cdk-lib';
const recoveryOptionProperty: cognito.CfnUserPool.RecoveryOptionProperty = {
  name: 'name',
  priority: 123,
};

Properties

NameTypeDescription
name?stringSpecifies the recovery method for a user.
priority?numberA positive integer specifying priority of a method with 1 being the highest priority.

name?

Type: string (optional)

Specifies the recovery method for a user.


priority?

Type: number (optional)

A positive integer specifying priority of a method with 1 being the highest priority.