@Generated(value="jsii-pacmak/1.70.0 (build 03c2f6f)", date="2022-11-01T13:16:47.482Z") @Stability(value=Experimental) 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()
(experimental) The state the container needs to be in to satisfy the dependency and proceed with startup.
|
ContainerDefinition |
getContainer()
(experimental) The container to depend on.
|
@Stability(value=Experimental) @NotNull ContainerDefinition getContainer()
@Stability(value=Experimental) @Nullable default ContainerDependencyCondition getCondition()
Valid values are ContainerDependencyCondition.START, ContainerDependencyCondition.COMPLETE, ContainerDependencyCondition.SUCCESS and ContainerDependencyCondition.HEALTHY.
Default: ContainerDependencyCondition.HEALTHY
@Stability(value=Experimental) static ContainerDependency.Builder builder()
ContainerDependency.Builder of ContainerDependencyCopyright © 2022. All rights reserved.