Class ContainerDependencyCondition
Inheritance
Namespace: Amazon.CDK.AWS.ECS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public sealed class ContainerDependencyCondition : Enum
Syntax (vb)
Public NotInheritable Class ContainerDependencyCondition
Inherits
Enum
Synopsis
Fields
COMPLETE | This condition validates that a dependent container runs to completion (exits) before permitting other containers to start. |
HEALTHY | This condition validates that the dependent container passes its Docker health check before permitting other containers to start. |
START | This condition emulates the behavior of links and volumes today. |
SUCCESS | This condition is the same as COMPLETE, but it also requires that the container exits with a zero status. |
value__ |
Fields
COMPLETE
This condition validates that a dependent container runs to completion (exits) before permitting other containers to start.
public const ContainerDependencyCondition COMPLETE
Field Value
Type | Description |
---|---|
ContainerDependencyCondition |
Remarks
This can be useful for nonessential containers that run a script and then exit.
HEALTHY
This condition validates that the dependent container passes its Docker health check before permitting other containers to start.
public const ContainerDependencyCondition HEALTHY
Field Value
Type | Description |
---|---|
ContainerDependencyCondition |
Remarks
This requires that the dependent container has health checks configured. This condition is confirmed only at task startup.
START
This condition emulates the behavior of links and volumes today.
public const ContainerDependencyCondition START
Field Value
Type | Description |
---|---|
ContainerDependencyCondition |
Remarks
It validates that a dependent container is started before permitting other containers to start.
SUCCESS
This condition is the same as COMPLETE, but it also requires that the container exits with a zero status.
public const ContainerDependencyCondition SUCCESS
Field Value
Type | Description |
---|---|
ContainerDependencyCondition |
value__
public int value__
Field Value
Type | Description |
---|---|
System.Int32 |