![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.glue.kotlin.outputs.TriggerEventBatchingCondition.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.glue.kotlin.outputs
import kotlin.Int
import kotlin.Suppress
/**
* Batch condition that must be met (specified number of events received or batch time window expired) before EventBridge event trigger fires.
* @property batchSize Number of events that must be received from Amazon EventBridge before EventBridge event trigger fires.
* @property batchWindow Window of time in seconds after which EventBridge event trigger fires. Window starts when first event is received.
*/
public data class TriggerEventBatchingCondition(
public val batchSize: Int,
public val batchWindow: Int? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.glue.outputs.TriggerEventBatchingCondition): TriggerEventBatchingCondition = TriggerEventBatchingCondition(
batchSize = javaType.batchSize(),
batchWindow = javaType.batchWindow().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy