sagemaker.mlops.workflow.condition_step#

The step definitions for workflow.

Classes

ConditionStep(name[, depends_on, ...])

Conditional step for pipelines to support conditional branching in the execution of steps.

class sagemaker.mlops.workflow.condition_step.ConditionStep(name: str, depends_on: List[str | Step] | None = None, display_name: str | None = None, description: str | None = None, conditions: List[Condition] | None = None, if_steps: List[Step] | None = None, else_steps: List[Step] | None = None)[source]#

Bases: Step

Conditional step for pipelines to support conditional branching in the execution of steps.

property arguments: Dict[str, Any] | List[Dict[str, Any]]#

The arguments dict that is used to define the conditional branching in the pipeline.

property properties#

A simple Properties object with Outcome as the only property

property step_only_arguments#

Argument dict pertaining to the step only, and not the if_steps or else_steps.