Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Builds AWS Step Functions state machines in Amazon States Language using JSONata, covering states, error handling, and JSONPath migration.
82% 95%+14 ptsof test cases passed
Passed 21 of 22 test cases with the skill, and 18 of 22 without it.
3 of 3 safety checks passed
Not used yet
Step Functions can integrate with AWS services in three patterns:
| Pattern | Resource ARN | Behavior | When to Use |
|---|---|---|---|
| Optimized | arn:aws:states:::servicename:apiAction | Call API and continue immediately | Fire-and-forget operations (start a process, send a message) |
| Optimized (sync) | arn:aws:states:::servicename:apiAction.sync | Wait for the job to complete | When you need the result before continuing (run ECS task, execute child workflow, run Glue job) |
| Optimized (callback) | arn:aws:states:::servicename:apiAction.waitForTaskToken | Pause until a task token is returned | Human approval, external system processing, long-running async operations |
| AWS SDK | arn:aws:states:::aws-sdk:serviceName:apiAction | Call any AWS SDK API action directly | When no optimized integration exists for the service |
| HTTP Task | arn:aws:states:::http:invoke | Call an HTTPS API endpoint | External APIs (e.g., Stripe, Salesforce) |
Always review the AWS Documentation to check availability and proper usage of an optimized integration before using it: https://docs.aws.amazon.com/step-functions/latest/dg/integrate-optimized.html
"InvokeFunction": {
"Type": "Task",
"Resource": "arn:aws:states:::lambda:invoke",
"Arguments": {
"FunctionName": "arn:aws:lambda:us-east-1:123456789012:function:MyFunction:$LATEST",
"Payload": {
"orderId": "{% $states.input.orderId %}",
"customer": "{% $states.input.customer %}"
}
Next to this one in the catalogue, plus more from the same author.