![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.batch.kotlin.outputs.JobDefinitionEvaluateOnExit.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.batch.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property action Specifies the action to take if all of the specified conditions ( `onStatusReason` , `onReason` , and `onExitCode` ) are met. The values aren't case sensitive.
* @property onExitCode Contains a glob pattern to match against the decimal representation of the `ExitCode` returned for a job. The pattern can be up to 512 characters long. It can contain only numbers, and can end with an asterisk (*) so that only the start of the string needs to be an exact match.
* The string can contain up to 512 characters.
* @property onReason Contains a glob pattern to match against the `Reason` returned for a job. The pattern can contain up to 512 characters. It can contain letters, numbers, periods (.), colons (:), and white space (including spaces and tabs). It can optionally end with an asterisk (*) so that only the start of the string needs to be an exact match.
* @property onStatusReason Contains a glob pattern to match against the `StatusReason` returned for a job. The pattern can contain up to 512 characters. It can contain letters, numbers, periods (.), colons (:), and white spaces (including spaces or tabs). It can optionally end with an asterisk (*) so that only the start of the string needs to be an exact match.
*/
public data class JobDefinitionEvaluateOnExit(
public val action: String,
public val onExitCode: String? = null,
public val onReason: String? = null,
public val onStatusReason: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.batch.outputs.JobDefinitionEvaluateOnExit): JobDefinitionEvaluateOnExit = JobDefinitionEvaluateOnExit(
action = javaType.action(),
onExitCode = javaType.onExitCode().map({ args0 -> args0 }).orElse(null),
onReason = javaType.onReason().map({ args0 -> args0 }).orElse(null),
onStatusReason = javaType.onStatusReason().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy