InvokeFunction(lambda_function, *, payload=None)¶
(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.
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