com.pulumi.vault.database.kotlin.outputs.SecretBackendConnectionMysqlRds.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.Int
import kotlin.String
import kotlin.Suppress
/**
*
* @property authType Specify alternative authorization type. (Only 'gcp_iam' is valid currently)
* @property connectionUrl Connection string to use to connect to the database.
* @property maxConnectionLifetime Maximum number of seconds a connection may be reused.
* @property maxIdleConnections Maximum number of idle connections to the database.
* @property maxOpenConnections Maximum number of open connections to the database.
* @property password The root credential password used in the connection URL
* @property serviceAccountJson A JSON encoded credential for use with IAM authorization
* @property tlsCa x509 CA file for validating the certificate presented by the MySQL server. Must be PEM encoded.
* @property tlsCertificateKey x509 certificate for connecting to the database. This must be a PEM encoded version of the private key and the certificate combined.
* @property username The root credential username used in the connection URL
* @property usernameTemplate Username generation template.
*/
public data class SecretBackendConnectionMysqlRds(
public val authType: String? = null,
public val connectionUrl: String? = null,
public val maxConnectionLifetime: Int? = null,
public val maxIdleConnections: Int? = null,
public val maxOpenConnections: Int? = null,
public val password: String? = null,
public val serviceAccountJson: String? = null,
public val tlsCa: String? = null,
public val tlsCertificateKey: String? = null,
public val username: String? = null,
public val usernameTemplate: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.vault.database.outputs.SecretBackendConnectionMysqlRds): SecretBackendConnectionMysqlRds = SecretBackendConnectionMysqlRds(
authType = javaType.authType().map({ args0 -> args0 }).orElse(null),
connectionUrl = javaType.connectionUrl().map({ args0 -> args0 }).orElse(null),
maxConnectionLifetime = javaType.maxConnectionLifetime().map({ args0 -> args0 }).orElse(null),
maxIdleConnections = javaType.maxIdleConnections().map({ args0 -> args0 }).orElse(null),
maxOpenConnections = javaType.maxOpenConnections().map({ args0 -> args0 }).orElse(null),
password = javaType.password().map({ args0 -> args0 }).orElse(null),
serviceAccountJson = javaType.serviceAccountJson().map({ args0 -> args0 }).orElse(null),
tlsCa = javaType.tlsCa().map({ args0 -> args0 }).orElse(null),
tlsCertificateKey = javaType.tlsCertificateKey().map({ args0 -> args0 }).orElse(null),
username = javaType.username().map({ args0 -> args0 }).orElse(null),
usernameTemplate = javaType.usernameTemplate().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy