![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.cloudflare.kotlin.outputs.HyperdriveConfigOrigin.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-cloudflare-kotlin Show documentation
Show all versions of pulumi-cloudflare-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.cloudflare.kotlin.outputs
import kotlin.Int
import kotlin.String
import kotlin.Suppress
/**
*
* @property accessClientId Client ID associated with the Cloudflare Access Service Token used to connect via Access.
* @property accessClientSecret Client Secret associated with the Cloudflare Access Service Token used to connect via Access.
* @property database The name of your origin database.
* @property host The host (hostname or IP) of your origin database.
* @property password The password of the Hyperdrive configuration.
* @property port The port (default: 5432 for Postgres) of your origin database.
* @property scheme Specifies the URL scheme used to connect to your origin database.
* @property user The user of your origin database.
*/
public data class HyperdriveConfigOrigin(
public val accessClientId: String? = null,
public val accessClientSecret: String? = null,
public val database: String,
public val host: String,
public val password: String,
public val port: Int? = null,
public val scheme: String,
public val user: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.cloudflare.outputs.HyperdriveConfigOrigin): HyperdriveConfigOrigin = HyperdriveConfigOrigin(
accessClientId = javaType.accessClientId().map({ args0 -> args0 }).orElse(null),
accessClientSecret = javaType.accessClientSecret().map({ args0 -> args0 }).orElse(null),
database = javaType.database(),
host = javaType.host(),
password = javaType.password(),
port = javaType.port().map({ args0 -> args0 }).orElse(null),
scheme = javaType.scheme(),
user = javaType.user(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy