![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.elasticache.kotlin.outputs.AuthenticationModeProperties.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.elasticache.kotlin.outputs
import com.pulumi.awsnative.elasticache.kotlin.enums.UserAuthenticationModePropertiesType
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
* Specifies the authentication mode to use. Below is an example of the possible JSON values:
* ```
* { Passwords: ["*****", "******"] // If Type is password.
* }
* ```
* @property passwords Passwords used for this user account. You can create up to two passwords for each user.
* @property type Authentication Type
*/
public data class AuthenticationModeProperties(
public val passwords: List? = null,
public val type: UserAuthenticationModePropertiesType,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.elasticache.outputs.AuthenticationModeProperties): AuthenticationModeProperties = AuthenticationModeProperties(
passwords = javaType.passwords().map({ args0 -> args0 }),
type = javaType.type().let({ args0 ->
com.pulumi.awsnative.elasticache.kotlin.enums.UserAuthenticationModePropertiesType.Companion.toKotlin(args0)
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy