class documentation

Step for step function workflows

Method __init__ Initialize a Step
Method add_depends_on Add Step names or Step instances to the current Step depends on list.
Method depends_on.setter Set the list of steps the current step explicitly depends on.
Instance Variable additional_policies Undocumented
Instance Variable args Undocumented
Instance Variable description Undocumented
Instance Variable env_variables Undocumented
Instance Variable func Undocumented
Instance Variable layers Undocumented
Instance Variable memory_size Undocumented
Instance Variable name Undocumented
Instance Variable python_runtime Undocumented
Instance Variable retry_count Undocumented
Property depends_on The list of steps the current Step depends on.
Instance Variable _depends_on Undocumented
def __init__(self, name: str, func: Callable, args: List[Any], python_runtime: str, memory_size: int = 512, description: Optional[str] = None, retry_count: int = 0, policies: List[str] = [], layers: List[str] = [], env_variables: Dict[str, str] = {}, depends_on: Optional[List[Step]] = None): (source)

Initialize a Step

Args:
name (str): The name of the Step. func (callable): The function that should be executed as part of this step args (list): The arguments to the function. If not a step, these are considered "static" and are used even in the Step Function execution python_runtime (str): Lambda runtime. memory_size (int): Megabytes of memory for the lambda. Defaults to 512. description (str): The description of the Step. retry_count (int): Number of times to retry a failure policies (List[str]): IAM policies, in JSON, to provide to the Lambda layers (list): the ARNs of layers to add to the lambda function env_variables (dict): environment variables to pass to lambda function depends_on (List[Step]): The list of Steps that the current Step depends on.
def add_depends_on(self, step_names: List[Step]): (source)

Add Step names or Step instances to the current Step depends on list.

@depends_on.setter
def depends_on(self, depends_on: List[Step]): (source)

Set the list of steps the current step explicitly depends on.

additional_policies = (source)

Undocumented

Undocumented

description = (source)

Undocumented

env_variables = (source)

Undocumented

Undocumented

Undocumented

memory_size = (source)

Undocumented

Undocumented

python_runtime = (source)

Undocumented

retry_count = (source)

Undocumented

The list of steps the current Step depends on.

_depends_on: list = (source)

Undocumented