![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.glue.kotlin.outputs.GetTriggerResult.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.glue.kotlin.outputs
import kotlin.Any
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property actions The actions initiated by this trigger.
* @property description A description of this trigger.
* @property eventBatchingCondition Batch condition that must be met (specified number of events received or batch time window expired) before EventBridge event trigger fires.
* @property predicate The predicate of this trigger, which defines when it will fire.
* @property schedule A cron expression used to specify the schedule.
* @property tags The tags to use with this trigger.
* Search the [CloudFormation User Guide](https://docs.aws.amazon.com/cloudformation/) for `AWS::Glue::Trigger` for more information about the expected schema for this property.
*/
public data class GetTriggerResult(
public val actions: List? = null,
public val description: String? = null,
public val eventBatchingCondition: TriggerEventBatchingCondition? = null,
public val predicate: TriggerPredicate? = null,
public val schedule: String? = null,
public val tags: Any? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.glue.outputs.GetTriggerResult): GetTriggerResult = GetTriggerResult(
actions = javaType.actions().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.glue.kotlin.outputs.TriggerAction.Companion.toKotlin(args0)
})
}),
description = javaType.description().map({ args0 -> args0 }).orElse(null),
eventBatchingCondition = javaType.eventBatchingCondition().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.glue.kotlin.outputs.TriggerEventBatchingCondition.Companion.toKotlin(args0)
})
}).orElse(null),
predicate = javaType.predicate().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.glue.kotlin.outputs.TriggerPredicate.Companion.toKotlin(args0)
})
}).orElse(null),
schedule = javaType.schedule().map({ args0 -> args0 }).orElse(null),
tags = javaType.tags().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy