Home > Net >  AWS Step Function - how to receive input?
AWS Step Function - how to receive input?

Time:12-02

I have the below step function and I'm trying to pass the ARN to the StartProjectVersion step in the "test" variable using "ProjectVersionArn": "$.test". Every time I execute the step functions, StartProjectVersion fails with:

2 validation errors detected: Value '$.test' at 'projectVersionArn' failed to satisfy constraint: Member must satisfy regular expression pattern: (^arn:[a-z\d-] :rekognition

How can I set the ARN using $.test? Thank you.

Step function steps

CodePudding user response:

Parameters: For key-value pairs where the value is selected using a path, the key name must end in .$.

"ProjectVersionArn.$": "$.test"
  • Related