com.pulumi.gcp.dataproc.kotlin.outputs.ClusterClusterConfigInitializationAction.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-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.gcp.dataproc.kotlin.outputs
import kotlin.Int
import kotlin.String
import kotlin.Suppress
/**
*
* @property script The script to be executed during initialization of the cluster.
* The script must be a GCS file with a gs:// prefix.
* @property timeoutSec The maximum duration (in seconds) which `script` is
* allowed to take to execute its action. GCP will default to a predetermined
* computed value if not set (currently 300).
* - - -
*/
public data class ClusterClusterConfigInitializationAction(
public val script: String,
public val timeoutSec: Int? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.dataproc.outputs.ClusterClusterConfigInitializationAction): ClusterClusterConfigInitializationAction = ClusterClusterConfigInitializationAction(
script = javaType.script(),
timeoutSec = javaType.timeoutSec().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy