com.pulumi.cloudflare.kotlin.outputs.WorkersScriptD1DatabaseBinding.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.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 WorkersScriptD1DatabaseBinding(
public val databaseId: String,
public val name: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.cloudflare.outputs.WorkersScriptD1DatabaseBinding): WorkersScriptD1DatabaseBinding = WorkersScriptD1DatabaseBinding(
databaseId = javaType.databaseId(),
name = javaType.name(),
)
}
}