@Generated(value="jsii-pacmak/1.63.2 (build a8a8833)",
date="2022-08-17T17:31:20.939Z")
public interface ContainerDependency
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.
|
ContainerDefinition getContainer()
default ContainerDependencyCondition getCondition()
Valid values are ContainerDependencyCondition.START, ContainerDependencyCondition.COMPLETE, ContainerDependencyCondition.SUCCESS and ContainerDependencyCondition.HEALTHY.
Default: ContainerDependencyCondition.HEALTHY
static ContainerDependency.Builder builder()
ContainerDependency.Builder
of ContainerDependency