![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.cloudflare.kotlin.outputs.WorkerScriptServiceBinding.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 environment The name of the Worker environment to bind to.
* @property name The global variable for the binding in your Worker code.
* @property service The name of the Worker to bind to.
*/
public data class WorkerScriptServiceBinding(
public val environment: String? = null,
public val name: String,
public val service: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.cloudflare.outputs.WorkerScriptServiceBinding): WorkerScriptServiceBinding = WorkerScriptServiceBinding(
environment = javaType.environment().map({ args0 -> args0 }).orElse(null),
name = javaType.name(),
service = javaType.service(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy