AWS::Cognito::UserPool RecoveryOption - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

AWS::Cognito::UserPool RecoveryOption

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

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

{ "Name" : String, "Priority" : Integer }

YAML

Name: String Priority: Integer

Properties

Name

Specifies the recovery method for a user.

Required: No

Type: String

Allowed values: verified_email | verified_phone_number | admin_only

Update requires: No interruption

Priority

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

Required: No

Type: Integer

Minimum: 1

Maximum: 2

Update requires: No interruption