Interface CfnJobDefinition.TaskContainerDependencyProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnJobDefinition.TaskContainerDependencyProperty.Jsii$Proxy
- Enclosing class:
CfnJobDefinition
@Stability(Stable)
public static interface CfnJobDefinition.TaskContainerDependencyProperty
extends software.amazon.jsii.JsiiSerializable
A list of containers that this task depends on.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.batch.*; TaskContainerDependencyProperty taskContainerDependencyProperty = TaskContainerDependencyProperty.builder() .condition("condition") .containerName("containerName") .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnJobDefinition.TaskContainerDependencyProperty
static final class
An implementation forCfnJobDefinition.TaskContainerDependencyProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
The dependency condition of the container.A unique identifier for the container.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCondition
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 asCOMPLETE
, but it also requires that the container exits with a zero status. This condition can't be set on an essential container.
- See Also:
-
getContainerName
A unique identifier for the container.- See Also:
-
builder
-