Jeff Borden
Jeff Borden

Reputation: 1419

AWS Step Function - how to receive input?

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

Upvotes: 0

Views: 482

Answers (1)

fedonev
fedonev

Reputation: 25669

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

"ProjectVersionArn.$": "$.test"

Upvotes: 3

Related Questions