All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.batch.kotlin.outputs.JobDefinitionTaskContainerDependency.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.batch.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property condition The dependency condition of the container. The following are the available conditions and their behavior:
 * - `START` - This condition emulates the behavior of links and volumes today. It validates that a dependent container is started before permitting other containers to start.
 * - `COMPLETE` - This condition validates that a dependent container runs to completion (exits) before permitting other containers to start. This can be useful for nonessential containers that run a script and then exit. This condition can't be set on an essential container.
 * - `SUCCESS` - This condition is the same as `COMPLETE` , but it also requires that the container exits with a zero status. This condition can't be set on an essential container.
 * @property containerName A unique identifier for the container.
 */
public data class JobDefinitionTaskContainerDependency(
    public val condition: String,
    public val containerName: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.batch.outputs.JobDefinitionTaskContainerDependency): JobDefinitionTaskContainerDependency = JobDefinitionTaskContainerDependency(
            condition = javaType.condition(),
            containerName = javaType.containerName(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy