LambdaStep: Workflow LambdaStep class

LambdaStepR Documentation

Workflow LambdaStep class

Description

Lambda step for workflow.

Super classes

sagemaker.workflow::Entity -> sagemaker.workflow::Step -> LambdaStep

Active bindings

arguments

The arguments dict that is used to define the lambda step.

properties

A Properties object representing the output parameters of the lambda step.

Methods

Public methods

Inherited methods

Method new()

Constructs a LambdaStep.

Usage
LambdaStep$new(
  name,
  lambda_func,
  display_name = NULL,
  description = NULL,
  inputs = NULL,
  outputs = NULL,
  cache_config = NULL,
  depends_on = NULL
)
Arguments
name

(str): The name of the lambda step.

lambda_func

(str): An instance of sagemaker.lambda_helper.Lambda. If lambda arn is specified in the instance, LambdaStep just invokes the function, else lambda function will be created while creating the pipeline.

display_name

(str): The display name of the Lambda step.

description

(str): The description of the Lambda step.

inputs

(dict): Input arguments that will be provided to the lambda function.

outputs

(List[LambdaOutput]): List of outputs from the lambda function.

cache_config

(CacheConfig): A 'sagemaker.workflow.steps.CacheConfig' instance.

depends_on

(List[str]): A list of step names this 'sagemaker.workflow.steps.LambdaStep' depends on


Method to_request()

Updates the dictionary with cache configuration.

Usage
LambdaStep$to_request()

Method clone()

The objects of this class are cloneable with this method.

Usage
LambdaStep$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.


DyfanJones/sagemaker-r-workflow documentation built on April 3, 2022, 11:28 p.m.