Skip to content

Allow JSONata string expressions for Arguments in Step Functions#4403

Merged
kddejong merged 1 commit intoaws-cloudformation:mainfrom
kddejong:fix/issue/4398
Mar 24, 2026
Merged

Allow JSONata string expressions for Arguments in Step Functions#4403
kddejong merged 1 commit intoaws-cloudformation:mainfrom
kddejong:fix/issue/4398

Conversation

@kddejong
Copy link
Copy Markdown
Contributor

When QueryLanguage is JSONata, Arguments can be a JSONata string expression that evaluates to a JSON object, not just a literal object.

Per the States Language spec: The value of "Arguments" MUST be a JSON text, or a JSONata string that evaluates to a JSON text.

Fixes #4398

@codecov
Copy link
Copy Markdown

codecov bot commented Mar 23, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.45%. Comparing base (0bbabc9) to head (63308a5).
⚠️ Report is 30 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4403      +/-   ##
==========================================
- Coverage   93.54%   93.45%   -0.10%     
==========================================
  Files         418      422       +4     
  Lines       14145    14325     +180     
  Branches     2817     2860      +43     
==========================================
+ Hits        13232    13387     +155     
- Misses        567      581      +14     
- Partials      346      357      +11     
Flag Coverage Δ
unittests 93.45% <100.00%> (-0.08%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

When QueryLanguage is JSONata, Arguments can be a JSONata string
expression that evaluates to a JSON object, not just a literal object.

Fixes aws-cloudformation#4398
@kddejong kddejong merged commit e0b7014 into aws-cloudformation:main Mar 24, 2026
16 checks passed
@kddejong kddejong deleted the fix/issue/4398 branch March 24, 2026 14:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

AWS::StepFunctions::StateMachine - (JSONata) false-positive finding E3601 for Arguments in task

1 participant