sagemaker.core.workflow.execution_variables#

Pipeline parameters and conditions for workflow.

Classes

ExecutionVariable(name)

Pipeline execution variables for workflow.

ExecutionVariables()

Provide access to all available execution variables:

class sagemaker.core.workflow.execution_variables.ExecutionVariable(name: str)[source]#

Bases: PipelineVariable

Pipeline execution variables for workflow.

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

The ‘Get’ expression dict for an ExecutionVariable.

to_string() PipelineVariable[source]#

Prompt the pipeline to convert the pipeline variable to String in runtime

As ExecutionVariable is treated as String in runtime, no extra actions are needed.

class sagemaker.core.workflow.execution_variables.ExecutionVariables[source]#

Bases: object

Provide access to all available execution variables:

  • ExecutionVariables.START_DATETIME

  • ExecutionVariables.CURRENT_DATETIME

  • ExecutionVariables.PIPELINE_NAME

  • ExecutionVariables.PIPELINE_ARN

  • ExecutionVariables.PIPELINE_EXECUTION_ID

  • ExecutionVariables.PIPELINE_EXECUTION_ARN

  • ExecutionVariables.TRAINING_JOB_NAME

  • ExecutionVariables.PROCESSING_JOB_NAME

CURRENT_DATETIME = <sagemaker.core.workflow.execution_variables.ExecutionVariable object>#
PIPELINE_ARN = <sagemaker.core.workflow.execution_variables.ExecutionVariable object>#
PIPELINE_EXECUTION_ARN = <sagemaker.core.workflow.execution_variables.ExecutionVariable object>#
PIPELINE_EXECUTION_ID = <sagemaker.core.workflow.execution_variables.ExecutionVariable object>#
PIPELINE_NAME = <sagemaker.core.workflow.execution_variables.ExecutionVariable object>#
PROCESSING_JOB_NAME = <sagemaker.core.workflow.execution_variables.ExecutionVariable object>#
START_DATETIME = <sagemaker.core.workflow.execution_variables.ExecutionVariable object>#
TRAINING_JOB_NAME = <sagemaker.core.workflow.execution_variables.ExecutionVariable object>#