com.pulumi.awsnative.appstream.kotlin.outputs.AppBlockScriptDetails.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-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.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(),
)
}
}