
com.pulumi.awsnative.databrew.kotlin.outputs.RecipeAction.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.databrew.kotlin.outputs
import com.pulumi.core.Either
import kotlin.String
import kotlin.Suppress
import kotlin.collections.Map
/**
*
* @property operation Step action operation
* @property parameters Contextual parameters for the transformation.
*/
public data class RecipeAction(
public val operation: String,
public val parameters: Either>? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.databrew.outputs.RecipeAction): RecipeAction = RecipeAction(
operation = javaType.operation(),
parameters = javaType.parameters().map({ args0 ->
args0.transform(
{ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.databrew.kotlin.outputs.RecipeParameters.Companion.toKotlin(args0)
})
},
{ args0 -> args0.map({ args0 -> args0.key.to(args0.value) }).toMap() },
)
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy