com.pulumi.gcp.datastream.kotlin.outputs.ConnectionProfileMysqlProfileSslConfig.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-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.gcp.datastream.kotlin.outputs
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
/**
*
* @property caCertificate PEM-encoded certificate of the CA that signed the source database
* server's certificate.
* **Note**: This property is sensitive and will not be displayed in the plan.
* @property caCertificateSet (Output)
* Indicates whether the clientKey field is set.
* @property clientCertificate PEM-encoded certificate that will be used by the replica to
* authenticate against the source database server. If this field
* is used then the 'clientKey' and the 'caCertificate' fields are
* mandatory.
* **Note**: This property is sensitive and will not be displayed in the plan.
* @property clientCertificateSet (Output)
* Indicates whether the clientCertificate field is set.
* @property clientKey PEM-encoded private key associated with the Client Certificate.
* If this field is used then the 'client_certificate' and the
* 'ca_certificate' fields are mandatory.
* **Note**: This property is sensitive and will not be displayed in the plan.
* @property clientKeySet (Output)
* Indicates whether the clientKey field is set.
*/
public data class ConnectionProfileMysqlProfileSslConfig(
public val caCertificate: String? = null,
public val caCertificateSet: Boolean? = null,
public val clientCertificate: String? = null,
public val clientCertificateSet: Boolean? = null,
public val clientKey: String? = null,
public val clientKeySet: Boolean? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.datastream.outputs.ConnectionProfileMysqlProfileSslConfig): ConnectionProfileMysqlProfileSslConfig = ConnectionProfileMysqlProfileSslConfig(
caCertificate = javaType.caCertificate().map({ args0 -> args0 }).orElse(null),
caCertificateSet = javaType.caCertificateSet().map({ args0 -> args0 }).orElse(null),
clientCertificate = javaType.clientCertificate().map({ args0 -> args0 }).orElse(null),
clientCertificateSet = javaType.clientCertificateSet().map({ args0 -> args0 }).orElse(null),
clientKey = javaType.clientKey().map({ args0 -> args0 }).orElse(null),
clientKeySet = javaType.clientKeySet().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy