com.pulumi.cloudflare.kotlin.outputs.WorkerScriptD1DatabaseBinding.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.
The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.cloudflare.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property databaseId Database ID of D1 database to use.
* @property name The global variable for the binding in your Worker code.
*/
public data class WorkerScriptD1DatabaseBinding(
public val databaseId: String,
public val name: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.cloudflare.outputs.WorkerScriptD1DatabaseBinding): WorkerScriptD1DatabaseBinding = WorkerScriptD1DatabaseBinding(
databaseId = javaType.databaseId(),
name = javaType.name(),
)
}
}