ConditionStep | R Documentation |
Conditional step for pipelines to support conditional branching in the execution of steps.
sagemaker.workflow::Entity
-> sagemaker.workflow::Step
-> ConditionStep
conditions
The name of the step.
if_steps
A list of 'sagemaker.workflow.steps.Step' and 'sagemaker.workflow.step_collections.StepCollection' instances
else_steps
A list of 'sagemaker.workflow.steps.Step' and 'sagemaker.workflow.step_collections.StepCollection' instances
arguments
The arguments dict that is used to define the conditional branching in the pipeline.
properties
A simple Properties object with 'Outcome' as the only property
new()
Construct a ConditionStep for pipelines to support conditional branching. If all of the conditions in the condition list evaluate to True, the 'if_steps' are marked as ready for execution. Otherwise, the 'else_steps' are marked as ready for execution.
ConditionStep$new( name, depends_on = NULL, display_name = NULL, description = NULL, conditions = NULL, if_steps = NULL, else_steps = NULL )
name
(str): The name of the step.
depends_on
(List[str]): The list of step names the current step depends on
display_name
(str): The display name of the condition step.
description
(str): The description of the condition step.
conditions
(List[Condition]): A list of 'sagemaker.workflow.conditions.Condition' instances.
if_steps
(List[Union[Step, StepCollection]]): A list of 'sagemaker.workflow.steps.Step' and 'sagemaker.workflow.step_collections.StepCollection' instances that are marked as ready for execution if the list of conditions evaluates to True.
else_steps
(List[Union[Step, StepCollection]]): A list of 'sagemaker.workflow.steps.Step' and 'sagemaker.workflow.step_collections.StepCollection' instances that are marked as ready for execution if the list of conditions evaluates to False.
clone()
The objects of this class are cloneable with this method.
ConditionStep$clone(deep = FALSE)
deep
Whether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.