@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:38.688Z") @Stability(value=Stable) public interface ContainerDependency extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.ecs.*;
ContainerDefinition containerDefinition;
ContainerDependency containerDependency = ContainerDependency.builder()
.container(containerDefinition)
// the properties below are optional
.condition(ContainerDependencyCondition.START)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
ContainerDependency.Builder
A builder for
ContainerDependency |
static class |
ContainerDependency.Jsii$Proxy
An implementation for
ContainerDependency |
| Modifier and Type | Method and Description |
|---|---|
static ContainerDependency.Builder |
builder() |
default ContainerDependencyCondition |
getCondition()
The state the container needs to be in to satisfy the dependency and proceed with startup.
|
ContainerDefinition |
getContainer()
The container to depend on.
|
@Stability(value=Stable) @NotNull ContainerDefinition getContainer()
@Stability(value=Stable) @Nullable default ContainerDependencyCondition getCondition()
Valid values are ContainerDependencyCondition.START, ContainerDependencyCondition.COMPLETE, ContainerDependencyCondition.SUCCESS and ContainerDependencyCondition.HEALTHY.
Default: ContainerDependencyCondition.HEALTHY
@Stability(value=Stable) static ContainerDependency.Builder builder()
ContainerDependency.Builder of ContainerDependencyCopyright © 2022. All rights reserved.