![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.memorydb.kotlin.inputs.AuthenticationModePropertiesArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.memorydb.kotlin.inputs
import com.pulumi.awsnative.memorydb.inputs.AuthenticationModePropertiesArgs.builder
import com.pulumi.awsnative.memorydb.kotlin.enums.UserAuthenticationModePropertiesType
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Denotes whether the user requires a password to authenticate.
* *Example:*
* `mynewdbuser: Type: AWS::MemoryDB::User Properties: AccessString: on ~* &* +@all AuthenticationMode: Passwords: '1234567890123456' Type: password UserName: mynewdbuser AuthenticationMode: { "Passwords": ["1234567890123456"], "Type": "Password" }`
* @property passwords Passwords used for this user account. You can create up to two passwords for each user.
* @property type Type of authentication strategy for this user.
*/
public data class AuthenticationModePropertiesArgs(
public val passwords: Output>? = null,
public val type: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.memorydb.inputs.AuthenticationModePropertiesArgs =
com.pulumi.awsnative.memorydb.inputs.AuthenticationModePropertiesArgs.builder()
.passwords(passwords?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.type(type?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [AuthenticationModePropertiesArgs].
*/
@PulumiTagMarker
public class AuthenticationModePropertiesArgsBuilder internal constructor() {
private var passwords: Output>? = null
private var type: Output? = null
/**
* @param value Passwords used for this user account. You can create up to two passwords for each user.
*/
@JvmName("vfrqiimeakfmorwx")
public suspend fun passwords(`value`: Output>) {
this.passwords = value
}
@JvmName("nxmmphclupwgdivj")
public suspend fun passwords(vararg values: Output) {
this.passwords = Output.all(values.asList())
}
/**
* @param values Passwords used for this user account. You can create up to two passwords for each user.
*/
@JvmName("rxreauktyjsmdawt")
public suspend fun passwords(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy