interface InvokeFunctionProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.StepFunctions.Tasks.InvokeFunctionProps |
Java | software.amazon.awscdk.services.stepfunctions.tasks.InvokeFunctionProps |
Python | aws_cdk.aws_stepfunctions_tasks.InvokeFunctionProps |
TypeScript (source) | @aws-cdk/aws-stepfunctions-tasks » InvokeFunctionProps |
⚠️ Deprecated: use LambdaInvoke
Properties for InvokeFunction.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as stepfunctions_tasks from '@aws-cdk/aws-stepfunctions-tasks';
declare const payload: any;
const invokeFunctionProps: stepfunctions_tasks.InvokeFunctionProps = {
payload: {
payloadKey: payload,
},
};
Properties
Name | Type | Description |
---|---|---|
payload? | { [string]: any } | The JSON that you want to provide to your Lambda function as input. |
payload?
⚠️ Deprecated: use LambdaInvoke
Type:
{ [string]: any }
(optional, default: The JSON data indicated by the task's InputPath is used as payload)
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.