I am not able to find a way to specify 'null' to result path.
As pointed out here: https://docs.aws.amazon.com/step-functions/latest/dg/input-output-resultpath.html
I want to implement, in CDK, this: "Discard the Result and Keep the Original Input"
I have read this discussion: https://github.com/aws/aws-cdk/issues/1805
but there is no final answer although it has been closed. Below a code snip:
const verifyDeviceJob = new tasks.LambdaInvoke(this, 'VerifyDeviceJobTask', {
lambdaFunction: verifyConditionDeviceFn,
inputPath: '$.detail',
resultPath: //HOW TO DECLARE IT TO NULL??
});