
com.pulumi.vault.database.kotlin.inputs.SecretBackendConnectionRedisElasticacheArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.vault.database.kotlin.inputs
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 com.pulumi.vault.database.inputs.SecretBackendConnectionRedisElasticacheArgs.builder
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property password The AWS secret key id to use to talk to ElastiCache. If omitted the credentials chain provider is used instead.
* @property region The AWS region where the ElastiCache cluster is hosted. If omitted the plugin tries to infer the region from the environment.
* @property url The configuration endpoint for the ElastiCache cluster to connect to.
* @property username The AWS access key id to use to talk to ElastiCache. If omitted the credentials chain provider is used instead.
*/
public data class SecretBackendConnectionRedisElasticacheArgs(
public val password: Output? = null,
public val region: Output? = null,
public val url: Output,
public val username: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.vault.database.inputs.SecretBackendConnectionRedisElasticacheArgs =
com.pulumi.vault.database.inputs.SecretBackendConnectionRedisElasticacheArgs.builder()
.password(password?.applyValue({ args0 -> args0 }))
.region(region?.applyValue({ args0 -> args0 }))
.url(url.applyValue({ args0 -> args0 }))
.username(username?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [SecretBackendConnectionRedisElasticacheArgs].
*/
@PulumiTagMarker
public class SecretBackendConnectionRedisElasticacheArgsBuilder internal constructor() {
private var password: Output? = null
private var region: Output? = null
private var url: Output? = null
private var username: Output? = null
/**
* @param value The AWS secret key id to use to talk to ElastiCache. If omitted the credentials chain provider is used instead.
*/
@JvmName("elnysugnpqnpweql")
public suspend fun password(`value`: Output) {
this.password = value
}
/**
* @param value The AWS region where the ElastiCache cluster is hosted. If omitted the plugin tries to infer the region from the environment.
*/
@JvmName("epkkvjlvnfehbgdj")
public suspend fun region(`value`: Output) {
this.region = value
}
/**
* @param value The configuration endpoint for the ElastiCache cluster to connect to.
*/
@JvmName("fpfsmefjpmbeixia")
public suspend fun url(`value`: Output) {
this.url = value
}
/**
* @param value The AWS access key id to use to talk to ElastiCache. If omitted the credentials chain provider is used instead.
*/
@JvmName("qjtnbleghdmgxpmo")
public suspend fun username(`value`: Output) {
this.username = value
}
/**
* @param value The AWS secret key id to use to talk to ElastiCache. If omitted the credentials chain provider is used instead.
*/
@JvmName("lshnpslaubmgmlct")
public suspend fun password(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.password = mapped
}
/**
* @param value The AWS region where the ElastiCache cluster is hosted. If omitted the plugin tries to infer the region from the environment.
*/
@JvmName("lbrtirxdhmkbeewf")
public suspend fun region(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.region = mapped
}
/**
* @param value The configuration endpoint for the ElastiCache cluster to connect to.
*/
@JvmName("qsqtatafqmrrkchv")
public suspend fun url(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.url = mapped
}
/**
* @param value The AWS access key id to use to talk to ElastiCache. If omitted the credentials chain provider is used instead.
*/
@JvmName("alttpxwvlklfjhmg")
public suspend fun username(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.username = mapped
}
internal fun build(): SecretBackendConnectionRedisElasticacheArgs =
SecretBackendConnectionRedisElasticacheArgs(
password = password,
region = region,
url = url ?: throw PulumiNullFieldException("url"),
username = username,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy