com.pulumi.aws.elasticache.kotlin.inputs.UserAuthenticationModeArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-kotlin Show documentation
Show all versions of pulumi-aws-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.aws.elasticache.kotlin.inputs
import com.pulumi.aws.elasticache.inputs.UserAuthenticationModeArgs.builder
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.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property passwordCount
* @property passwords Specifies the passwords to use for authentication if `type` is set to `password`.
* @property type Specifies the authentication type. Possible options are: `password`, `no-password-required` or `iam`.
*/
public data class UserAuthenticationModeArgs(
public val passwordCount: Output? = null,
public val passwords: Output>? = null,
public val type: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.aws.elasticache.inputs.UserAuthenticationModeArgs =
com.pulumi.aws.elasticache.inputs.UserAuthenticationModeArgs.builder()
.passwordCount(passwordCount?.applyValue({ args0 -> args0 }))
.passwords(passwords?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.type(type.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [UserAuthenticationModeArgs].
*/
@PulumiTagMarker
public class UserAuthenticationModeArgsBuilder internal constructor() {
private var passwordCount: Output? = null
private var passwords: Output>? = null
private var type: Output? = null
/**
* @param value
*/
@JvmName("eykxcrrcfvnawudv")
public suspend fun passwordCount(`value`: Output) {
this.passwordCount = value
}
/**
* @param value Specifies the passwords to use for authentication if `type` is set to `password`.
*/
@JvmName("ldggogiixhnxwdaq")
public suspend fun passwords(`value`: Output>) {
this.passwords = value
}
@JvmName("opvxhtyagsebupba")
public suspend fun passwords(vararg values: Output) {
this.passwords = Output.all(values.asList())
}
/**
* @param values Specifies the passwords to use for authentication if `type` is set to `password`.
*/
@JvmName("bxwvdatauxohulhr")
public suspend fun passwords(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy