enum ContainerDependencyCondition
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.ECS.ContainerDependencyCondition |
Java | software.amazon.awscdk.services.ecs.ContainerDependencyCondition |
Python | aws_cdk.aws_ecs.ContainerDependencyCondition |
TypeScript (source) | @aws-cdk/aws-ecs » ContainerDependencyCondition |
Members
Name | 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. |
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.