# ContainerDependencyCondition

- Source: [`aws-ecs/lib/container-definition.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0/packages/aws-cdk-lib/aws-ecs/lib/container-definition.ts#L1217)

## Members

| Member | Description |
| --- | --- |
| `START` | This condition emulates the behavior of links and volumes today. |
| `COMPLETE` | This condition validates that a dependent container runs to completion (exits) 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. |
| `HEALTHY` | This condition validates that the dependent container passes its Docker health check before permitting other containers to start. |

## Referenced by

- [`ContainerDependency`](/v2/docs/aws-cdk-lib.aws_ecs.ContainerDependency).condition
