Struct aws_sdk_batch::types::TaskContainerDependency  
source · #[non_exhaustive]pub struct TaskContainerDependency {
    pub container_name: Option<String>,
    pub condition: Option<String>,
}Expand description
A list of containers that this task depends on.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.container_name: Option<String>A unique identifier for the container.
condition: Option<String>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. 
Implementations§
source§impl TaskContainerDependency
 
impl TaskContainerDependency
sourcepub fn container_name(&self) -> Option<&str>
 
pub fn container_name(&self) -> Option<&str>
A unique identifier for the container.
sourcepub fn condition(&self) -> Option<&str>
 
pub fn condition(&self) -> Option<&str>
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. 
source§impl TaskContainerDependency
 
impl TaskContainerDependency
sourcepub fn builder() -> TaskContainerDependencyBuilder
 
pub fn builder() -> TaskContainerDependencyBuilder
Creates a new builder-style object to manufacture TaskContainerDependency.
Trait Implementations§
source§impl Clone for TaskContainerDependency
 
impl Clone for TaskContainerDependency
source§fn clone(&self) -> TaskContainerDependency
 
fn clone(&self) -> TaskContainerDependency
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for TaskContainerDependency
 
impl Debug for TaskContainerDependency
source§impl PartialEq for TaskContainerDependency
 
impl PartialEq for TaskContainerDependency
source§fn eq(&self, other: &TaskContainerDependency) -> bool
 
fn eq(&self, other: &TaskContainerDependency) -> bool
self and other values to be equal, and is used
by ==.