com.pulumi.cloudflare.kotlin.outputs.WorkerScriptPlainTextBinding.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 name The global variable for the binding in your Worker code.
* @property text The plain text you want to store.
*/
public data class WorkerScriptPlainTextBinding(
public val name: String,
public val text: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.cloudflare.outputs.WorkerScriptPlainTextBinding): WorkerScriptPlainTextBinding = WorkerScriptPlainTextBinding(
name = javaType.name(),
text = javaType.text(),
)
}
}