ContainerDependencyCondition

class aws_cdk.aws_ecs.ContainerDependencyCondition(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)

Bases: Enum

Attributes

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.

HEALTHY

This condition validates that the dependent container passes its Docker health check before permitting other containers to start.

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.

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.