![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.glue.kotlin.outputs.TriggerAction.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.glue.kotlin.outputs
import kotlin.Any
import kotlin.Int
import kotlin.String
import kotlin.Suppress
/**
* The actions initiated by this trigger.
* @property arguments The job arguments used when this trigger fires. For this job run, they replace the default arguments set in the job definition itself.
* @property crawlerName The name of the crawler to be used with this action.
* @property jobName The name of a job to be executed.
* @property notificationProperty Specifies configuration properties of a job run notification.
* @property securityConfiguration The name of the SecurityConfiguration structure to be used with this action.
* @property timeout The JobRun timeout in minutes. This is the maximum time that a job run can consume resources before it is terminated and enters TIMEOUT status. The default is 2,880 minutes (48 hours). This overrides the timeout value set in the parent job.
*/
public data class TriggerAction(
public val arguments: Any? = null,
public val crawlerName: String? = null,
public val jobName: String? = null,
public val notificationProperty: TriggerNotificationProperty? = null,
public val securityConfiguration: String? = null,
public val timeout: Int? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.glue.outputs.TriggerAction): TriggerAction =
TriggerAction(
arguments = javaType.arguments().map({ args0 -> args0 }).orElse(null),
crawlerName = javaType.crawlerName().map({ args0 -> args0 }).orElse(null),
jobName = javaType.jobName().map({ args0 -> args0 }).orElse(null),
notificationProperty = javaType.notificationProperty().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.glue.kotlin.outputs.TriggerNotificationProperty.Companion.toKotlin(args0)
})
}).orElse(null),
securityConfiguration = javaType.securityConfiguration().map({ args0 -> args0 }).orElse(null),
timeout = javaType.timeout().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy