
com.pulumi.vault.database.kotlin.outputs.SecretBackendConnectionRedis.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.vault.database.kotlin.outputs
import kotlin.Boolean
import kotlin.Int
import kotlin.String
import kotlin.Suppress
/**
*
* @property caCert The contents of a PEM-encoded CA cert file to use to verify the Redis server's identity.
* @property host Specifies the host to connect to
* @property insecureTls Specifies whether to skip verification of the server certificate when using TLS.
* @property password Specifies the password corresponding to the given username.
* @property port The transport port to use to connect to Redis.
* @property tls Specifies whether to use TLS when connecting to Redis.
* @property username Specifies the username for Vault to use.
*/
public data class SecretBackendConnectionRedis(
public val caCert: String? = null,
public val host: String,
public val insecureTls: Boolean? = null,
public val password: String,
public val port: Int? = null,
public val tls: Boolean? = null,
public val username: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.vault.database.outputs.SecretBackendConnectionRedis): SecretBackendConnectionRedis = SecretBackendConnectionRedis(
caCert = javaType.caCert().map({ args0 -> args0 }).orElse(null),
host = javaType.host(),
insecureTls = javaType.insecureTls().map({ args0 -> args0 }).orElse(null),
password = javaType.password(),
port = javaType.port().map({ args0 -> args0 }).orElse(null),
tls = javaType.tls().map({ args0 -> args0 }).orElse(null),
username = javaType.username(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy