com.pulumi.vault.database.kotlin.outputs.SecretBackendConnectionElasticsearch.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-vault-kotlin Show documentation
Show all versions of pulumi-vault-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.vault.database.kotlin.outputs
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
/**
*
* @property caCert The path to a PEM-encoded CA cert file to use to verify the Elasticsearch server's identity
* @property caPath The path to a directory of PEM-encoded CA cert files to use to verify the Elasticsearch server's identity
* @property clientCert The path to the certificate for the Elasticsearch client to present for communication
* @property clientKey The path to the key for the Elasticsearch client to use for communication
* @property insecure Whether to disable certificate verification
* @property password The password to be used in the connection URL
* @property tlsServerName This, if set, is used to set the SNI host when connecting via TLS
* @property url The URL for Elasticsearch's API
* @property username The username to be used in the connection URL
* @property usernameTemplate Template describing how dynamic usernames are generated.
*/
public data class SecretBackendConnectionElasticsearch(
public val caCert: String? = null,
public val caPath: String? = null,
public val clientCert: String? = null,
public val clientKey: String? = null,
public val insecure: Boolean? = null,
public val password: String,
public val tlsServerName: String? = null,
public val url: String,
public val username: String,
public val usernameTemplate: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.vault.database.outputs.SecretBackendConnectionElasticsearch): SecretBackendConnectionElasticsearch = SecretBackendConnectionElasticsearch(
caCert = javaType.caCert().map({ args0 -> args0 }).orElse(null),
caPath = javaType.caPath().map({ args0 -> args0 }).orElse(null),
clientCert = javaType.clientCert().map({ args0 -> args0 }).orElse(null),
clientKey = javaType.clientKey().map({ args0 -> args0 }).orElse(null),
insecure = javaType.insecure().map({ args0 -> args0 }).orElse(null),
password = javaType.password(),
tlsServerName = javaType.tlsServerName().map({ args0 -> args0 }).orElse(null),
url = javaType.url(),
username = javaType.username(),
usernameTemplate = javaType.usernameTemplate().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy