
com.pulumi.aws.appsync.kotlin.inputs.ResolverRuntimeArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.aws.appsync.kotlin.inputs
import com.pulumi.aws.appsync.inputs.ResolverRuntimeArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property name The name of the runtime to use. Currently, the only allowed value is `APPSYNC_JS`.
* @property runtimeVersion The version of the runtime to use. Currently, the only allowed version is `1.0.0`.
*/
public data class ResolverRuntimeArgs(
public val name: Output,
public val runtimeVersion: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.aws.appsync.inputs.ResolverRuntimeArgs =
com.pulumi.aws.appsync.inputs.ResolverRuntimeArgs.builder()
.name(name.applyValue({ args0 -> args0 }))
.runtimeVersion(runtimeVersion.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ResolverRuntimeArgs].
*/
@PulumiTagMarker
public class ResolverRuntimeArgsBuilder internal constructor() {
private var name: Output? = null
private var runtimeVersion: Output? = null
/**
* @param value The name of the runtime to use. Currently, the only allowed value is `APPSYNC_JS`.
*/
@JvmName("alfiwxjhtxrlggix")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value The version of the runtime to use. Currently, the only allowed version is `1.0.0`.
*/
@JvmName("jdffhppsttdcrstx")
public suspend fun runtimeVersion(`value`: Output) {
this.runtimeVersion = value
}
/**
* @param value The name of the runtime to use. Currently, the only allowed value is `APPSYNC_JS`.
*/
@JvmName("kdryjnoawijudoen")
public suspend fun name(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.name = mapped
}
/**
* @param value The version of the runtime to use. Currently, the only allowed version is `1.0.0`.
*/
@JvmName("uwuulguwpvfujajh")
public suspend fun runtimeVersion(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.runtimeVersion = mapped
}
internal fun build(): ResolverRuntimeArgs = ResolverRuntimeArgs(
name = name ?: throw PulumiNullFieldException("name"),
runtimeVersion = runtimeVersion ?: throw PulumiNullFieldException("runtimeVersion"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy