
com.pulumi.awsnative.elasticache.kotlin.inputs.AuthenticationModePropertiesArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.elasticache.kotlin.inputs
import com.pulumi.awsnative.elasticache.inputs.AuthenticationModePropertiesArgs.builder
import com.pulumi.awsnative.elasticache.kotlin.enums.UserAuthenticationModePropertiesType
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* 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 AuthenticationModePropertiesArgs(
public val passwords: Output>? = null,
public val type: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.elasticache.inputs.AuthenticationModePropertiesArgs =
com.pulumi.awsnative.elasticache.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("rnrdhfjeryavslal")
public suspend fun passwords(`value`: Output>) {
this.passwords = value
}
@JvmName("hwhigrjrxgddqvbh")
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("ovpfdkdthgoioonl")
public suspend fun passwords(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy