AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

A list of containers that this task depends on.

Inheritance Hierarchy

System.Object
  Amazon.Batch.Model.TaskContainerDependency

Namespace: Amazon.Batch.Model
Assembly: AWSSDK.Batch.dll
Version: 3.x.y.z

Syntax

C#
public class TaskContainerDependency

The TaskContainerDependency type exposes the following members

Constructors

NameDescription
Public Method TaskContainerDependency()

Properties

NameTypeDescription
Public Property Condition System.String

Gets and sets the 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.

Public Property ContainerName System.String

Gets and sets the property ContainerName.

A unique identifier for the container.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5