interface TaskContainerDependencyProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Batch.Mixins.CfnJobDefinitionPropsMixin.TaskContainerDependencyProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsbatch/mixins#CfnJobDefinitionPropsMixin_TaskContainerDependencyProperty |
Java | software.amazon.awscdk.mixins.preview.services.batch.mixins.CfnJobDefinitionPropsMixin.TaskContainerDependencyProperty |
Python | aws_cdk.mixins_preview.aws_batch.mixins.CfnJobDefinitionPropsMixin.TaskContainerDependencyProperty |
TypeScript | @aws-cdk/mixins-preview » aws_batch » mixins » CfnJobDefinitionPropsMixin » TaskContainerDependencyProperty |
A list of containers that this task depends on.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as batch_mixins } from '@aws-cdk/mixins-preview/aws-batch';
const taskContainerDependencyProperty: batch_mixins.CfnJobDefinitionPropsMixin.TaskContainerDependencyProperty = {
condition: 'condition',
containerName: 'containerName',
};
Properties
| Name | Type | Description |
|---|---|---|
| condition? | string | The dependency condition of the container. The following are the available conditions and their behavior:. |
| container | string | A unique identifier for the container. |
condition?
Type:
string
(optional)
The dependency condition of the container. The following are the available conditions and their behavior:.
START- This condition emulates the behavior of links and volumes today. It validates that a dependent container is started before permitting other containers to start.COMPLETE- This condition validates that a dependent container runs to completion (exits) before permitting other containers to start. This can be useful for nonessential containers that run a script and then exit. This condition can't be set on an essential container.SUCCESS- This condition is the same asCOMPLETE, but it also requires that the container exits with a zero status. This condition can't be set on an essential container.
containerName?
Type:
string
(optional)
A unique identifier for the container.

.NET
Go
Java
Python
TypeScript