InvokeFunctionProps
- class aws_cdk.aws_stepfunctions_tasks.InvokeFunctionProps(*, payload=None)
Bases:
object
(deprecated) Properties for InvokeFunction.
- Parameters:
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- Deprecated:
use
LambdaInvoke
- Stability:
deprecated
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_stepfunctions_tasks as stepfunctions_tasks # payload: Any invoke_function_props = stepfunctions_tasks.InvokeFunctionProps( payload={ "payload_key": payload } )
Attributes
- payload
(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