Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Class: Aws::Batch::Types::TaskContainerDependency

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#conditionString

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.

Returns:

  • (String)

8003
8004
8005
8006
8007
8008
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 8003

class TaskContainerDependency < Struct.new(
  :container_name,
  :condition)
  SENSITIVE = []
  include Aws::Structure
end

#container_nameString

A unique identifier for the container.

Returns:

  • (String)

8003
8004
8005
8006
8007
8008
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 8003

class TaskContainerDependency < Struct.new(
  :container_name,
  :condition)
  SENSITIVE = []
  include Aws::Structure
end