Class: Aws::Batch::Types::TaskContainerDependency
- Inherits:
-
Struct
- Object
- Struct
- Aws::Batch::Types::TaskContainerDependency
- Defined in:
- gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb
Overview
A list of containers that this task depends on.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#condition ⇒ String
The dependency condition of the container.
-
#container_name ⇒ String
A unique identifier for the container.
Instance Attribute Details
#condition ⇒ String
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.
7416 7417 7418 7419 7420 7421 |
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 7416 class TaskContainerDependency < Struct.new( :container_name, :condition) SENSITIVE = [] include Aws::Structure end |
#container_name ⇒ String
A unique identifier for the container.
7416 7417 7418 7419 7420 7421 |
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 7416 class TaskContainerDependency < Struct.new( :container_name, :condition) SENSITIVE = [] include Aws::Structure end |