All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.aws.cognito.kotlin.outputs.UserPoolAccountRecoverySettingRecoveryMechanism.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.57.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.aws.cognito.kotlin.outputs

import kotlin.Int
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property name Recovery method for a user. Can be of the following: `verified_email`, `verified_phone_number`, and `admin_only`.
 * @property priority Positive integer specifying priority of a method with 1 being the highest priority.
 */
public data class UserPoolAccountRecoverySettingRecoveryMechanism(
    public val name: String,
    public val priority: Int,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.aws.cognito.outputs.UserPoolAccountRecoverySettingRecoveryMechanism): UserPoolAccountRecoverySettingRecoveryMechanism =
            UserPoolAccountRecoverySettingRecoveryMechanism(
                name = javaType.name(),
                priority = javaType.priority(),
            )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy