@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-03-22T19:35:49.625Z") public enum ContainerDependencyCondition extends java.lang.Enum<ContainerDependencyCondition>
Enum Constant and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
static ContainerDependencyCondition |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ContainerDependencyCondition[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ContainerDependencyCondition START
It validates that a dependent container is started before permitting other containers to start.
public static final ContainerDependencyCondition COMPLETE
This can be useful for nonessential containers that run a script and then exit.
public static final ContainerDependencyCondition SUCCESS
public static final ContainerDependencyCondition HEALTHY
This requires that the dependent container has health checks configured. This condition is confirmed only at task startup.
public static ContainerDependencyCondition[] values()
for (ContainerDependencyCondition c : ContainerDependencyCondition.values()) System.out.println(c);
public static ContainerDependencyCondition valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null