@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:01:06.767Z") @Stability(value=Experimental) public enum ContainerDependencyCondition extends Enum<ContainerDependencyCondition>
| Enum Constant and Description |
|---|
COMPLETE
(experimental) This condition validates that a dependent container runs to completion (exits) before permitting other containers to start.
|
HEALTHY
(experimental) This condition validates that the dependent container passes its Docker health check before permitting other containers to start.
|
START
(experimental) This condition emulates the behavior of links and volumes today.
|
SUCCESS
(experimental) 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(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.
|
@Stability(value=Experimental) public static final ContainerDependencyCondition START
It validates that a dependent container is started before permitting other containers to start.
@Stability(value=Experimental) public static final ContainerDependencyCondition COMPLETE
This can be useful for nonessential containers that run a script and then exit.
@Stability(value=Experimental) public static final ContainerDependencyCondition SUCCESS
@Stability(value=Experimental) 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(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2021. All rights reserved.