I'm using CDK and Typescript to create a StateMachine
. I need to set parameters property on LambdaInvoke
but it seems that parameters
property is missing from LambdaInvokeProps
.
It seems very strange to me, because all usual properties such as imputPath
, resultPath
, resultSelector
, etc, are there.
Is there a way to set parameters
property?
Using aws-cdk-lib
2.28.1
The aws_stepfunctions_tasks.LambdaInvoke
construct abstracts away the task Parameters
from the caller.
Pass the event input to the Lambda using the LambdaInvoke
payload prop.
N.B. the construct is the CDK implementation of the Optimised Integration for Lambda.