Amazon Cognito · Schema

RecoveryMechanismsType

RecoveryMechanismsType schema from Amazon Cognito

AuthenticationAuthorizationIdentityIdentity ProviderOAuth2OIDC
View JSON Schema on GitHub

JSON Schema

cognito-idp-recovery-mechanisms-type-schema.json Raw ↑
{
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "Priority": {
        "allOf": [
          {
            "$ref": "#/components/schemas/PriorityType"
          },
          {
            "description": "A positive integer specifying priority of a method with 1 being the highest priority."
          }
        ]
      },
      "Name": {
        "allOf": [
          {
            "$ref": "#/components/schemas/RecoveryOptionNameType"
          },
          {
            "description": "The recovery method for a user."
          }
        ]
      }
    },
    "required": [
      "Priority",
      "Name"
    ],
    "description": "A map containing a priority as a key, and recovery method name as a value."
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/aws-cognito/refs/heads/main/json-schema/cognito-idp-recovery-mechanisms-type-schema.json",
  "title": "RecoveryMechanismsType",
  "description": "RecoveryMechanismsType schema from Amazon Cognito"
}