I want to define the value of Parameters property of a given task of a step function for processing the input and output according to this documentation: https://docs.aws.amazon.com/step-functions/latest/dg/concepts-input-output-filtering.html
I've found all the other properties for LambdaInvoke method from the document linked below (InputPath, ResultPath, ResultSelector, OutputPath), except the Parameters property. https://docs.aws.amazon.com/cdk/api/v2/python/aws_cdk.aws_stepfunctions_tasks/LambdaInvoke.html
my_lambda_fn = aws_lambda.Function(
self,
f"function-{config['name']}",
...
}
self.task = tasks.LambdaInvoke(
self,
f"lambdainvoke-{config['name']}",
lambda_function=my_lambda_fn,
input_path=..., # <- I can define this
result_path =..., # <- I can define this
result_selector =..., # <- I can define this
output_path =..., # <- I can define this
parameters=..., # <- Why I can't define this???
)
Is it even possible to define this from CDK? Or my whole concept is wrong about this? If it's possible, how should I define this properly? (I haven't found any working example to this)