All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.appsync.kotlin.outputs.FunctionConfigurationAppSyncRuntime.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.appsync.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 * Describes a runtime used by an AWS AppSync pipeline resolver or AWS AppSync function. Specifies the name and version of the runtime to use. Note that if a runtime is specified, code must also be specified.
 * @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 FunctionConfigurationAppSyncRuntime(
    public val name: String,
    public val runtimeVersion: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.appsync.outputs.FunctionConfigurationAppSyncRuntime): FunctionConfigurationAppSyncRuntime = FunctionConfigurationAppSyncRuntime(
            name = javaType.name(),
            runtimeVersion = javaType.runtimeVersion(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy