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

com.pulumi.awsnative.appstream.kotlin.outputs.AppBlockScriptDetails.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 1.11.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.appstream.kotlin.outputs

import kotlin.Int
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property executableParameters The parameters used in the run path for the script.
 * @property executablePath The run path for the script.
 * @property scriptS3Location The S3 object location of the script.
 * @property timeoutInSeconds The run timeout, in seconds, for the script.
 */
public data class AppBlockScriptDetails(
    public val executableParameters: String? = null,
    public val executablePath: String,
    public val scriptS3Location: AppBlockS3Location,
    public val timeoutInSeconds: Int,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.appstream.outputs.AppBlockScriptDetails): AppBlockScriptDetails = AppBlockScriptDetails(
            executableParameters = javaType.executableParameters().map({ args0 -> args0 }).orElse(null),
            executablePath = javaType.executablePath(),
            scriptS3Location = javaType.scriptS3Location().let({ args0 ->
                com.pulumi.awsnative.appstream.kotlin.outputs.AppBlockS3Location.Companion.toKotlin(args0)
            }),
            timeoutInSeconds = javaType.timeoutInSeconds(),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy