![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.appflow.kotlin.outputs.FlowTriggerConfig.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.appflow.kotlin.outputs
import com.pulumi.awsnative.appflow.kotlin.enums.FlowTriggerType
import kotlin.Suppress
/**
* Trigger settings of the flow.
* @property triggerProperties Details required based on the type of trigger
* @property triggerType Trigger type of the flow
*/
public data class FlowTriggerConfig(
public val triggerProperties: FlowScheduledTriggerProperties? = null,
public val triggerType: FlowTriggerType,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.appflow.outputs.FlowTriggerConfig): FlowTriggerConfig = FlowTriggerConfig(
triggerProperties = javaType.triggerProperties().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.appflow.kotlin.outputs.FlowScheduledTriggerProperties.Companion.toKotlin(args0)
})
}).orElse(null),
triggerType = javaType.triggerType().let({ args0 ->
com.pulumi.awsnative.appflow.kotlin.enums.FlowTriggerType.Companion.toKotlin(args0)
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy