EvaluateExpression

class aws_cdk.aws_stepfunctions_tasks.EvaluateExpression(*, expression, runtime=None)

Bases: object

A Step Functions Task to evaluate an expression.

OUTPUT: the output of this task is the evaluated expression.

stability :stability: experimental

__init__(*, expression, runtime=None)
Parameters
  • props

  • expression (str) – The expression to evaluate. It must contain state paths.

  • runtime (Optional[Runtime]) – The runtime language to use to evaluate the expression. Default: lambda.Runtime.NODEJS_10_X

stability :stability: experimental

Return type

None

Methods

bind(task)

Called when the task object is used in a workflow.

Parameters

task (Task) –

stability :stability: experimental

Return type

StepFunctionsTaskConfig