aws-cdk-lib.aws_ecs.ContainerDependencyCondition

enum ContainerDependencyCondition

LanguageType name
.NETAmazon.CDK.AWS.ECS.ContainerDependencyCondition
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsecs#ContainerDependencyCondition
Javasoftware.amazon.awscdk.services.ecs.ContainerDependencyCondition
Pythonaws_cdk.aws_ecs.ContainerDependencyCondition
TypeScript (source)aws-cdk-lib » aws_ecs » ContainerDependencyCondition

Members

NameDescription
STARTThis condition emulates the behavior of links and volumes today.
COMPLETEThis condition validates that a dependent container runs to completion (exits) before permitting other containers to start.
SUCCESSThis condition is the same as COMPLETE, but it also requires that the container exits with a zero status.
HEALTHYThis 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.

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.


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.

This requires that the dependent container has health checks configured. This condition is confirmed only at task startup.