InvokeFunction¶
-
class
aws_cdk.aws_stepfunctions_tasks.
InvokeFunction
(lambda_function, *, payload=None)¶ Bases:
object
(deprecated) A Step Functions Task to invoke a Lambda function.
The Lambda function Arn is defined as Resource in the state machine definition.
OUTPUT: the output of this task is the return value of the Lambda Function.
- Deprecated
Use
LambdaInvoke
- Stability
deprecated
- Parameters
lambda_function (
IFunction
) –payload (
Optional
[Mapping
[str
,Any
]]) – (deprecated) The JSON that you want to provide to your Lambda function as input. This parameter is named as payload to keep consistent with RunLambdaTask class. Default: - The JSON data indicated by the task’s InputPath is used as payload
- Stability
deprecated
Methods