
com.pulumi.awsnative.amplifyuibuilder.kotlin.outputs.ComponentEvent.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.amplifyuibuilder.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property action The action to perform when a specific event is raised.
* @property bindingEvent Binds an event to an action on a component. When you specify a `bindingEvent` , the event is called when the action is performed.
* @property parameters Describes information about the action.
*/
public data class ComponentEvent(
public val action: String? = null,
public val bindingEvent: String? = null,
public val parameters: ComponentActionParameters? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.amplifyuibuilder.outputs.ComponentEvent): ComponentEvent = ComponentEvent(
action = javaType.action().map({ args0 -> args0 }).orElse(null),
bindingEvent = javaType.bindingEvent().map({ args0 -> args0 }).orElse(null),
parameters = javaType.parameters().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.amplifyuibuilder.kotlin.outputs.ComponentActionParameters.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy