Questions tagged [aws-step-functions]

AWS Step Functions is a visual workflow service that helps developers use AWS services to build distributed applications, automate processes, orchestrate microservices, and create data and machine learning (ML) pipelines.

AWS Step Functions

AWS Step Functions is a visual workflow service that helps developers use AWS services to build distributed applications, automate processes, orchestrate microservices, and create data and machine learning (ML) pipelines.

Workflows

A workflow describes how people get work done from start to finish. A workflow consists of the steps and states in a process. Workflows can appear as a series of steps in a checklist, or as a diagram that visualizes those steps. Workflows promote logical separation between the control flow of your job's stepwise logic and the actual units of work that contain your unique business logic. With this division, you can manage, maintain, and scale the state machinery of your application separately from the core business logic. As your business requirements change, you can easily change application logic without changing the underlying state machinery, task dispatch, and flow control. Workflows

Amazon States Language

Step Functions implements the open source Amazon States Language (ASL), which is a JSON-based workflow definition language. ASL models workflows as a state machine, where you define a set of states with transitions between them. ASL includes several state types that support the flow of data through your workflow and control of the logic (e.g., Pass State, Choice State, Parallel State, and Fail State). Task states are used to execute work.

The state machine model for ASL has the advantage of making these workflows inherently visual. This is true for creation, editing, and sharing of workflow definitions but also for interpreting and observing historical behavior of workflow executions.

Step Functions Service Integrations

Step Functions includes direct integration with over 220 AWS Services. Optimized Service Integrations provide simplification to make it easier to integrate with services such as AWS Lambda, AWS Glue, Amazon SQS, and Amazon EMR. In addition, AWS SDK Service Integrations provide direct integration with over 11,000 API Actions from over 220 AWS Services.

Workflow Studio

Workflow Studio is a low-code visual workflow designer for Step Functions. Workflow Studio is available in the AWS Console and makes it easy build, edit, visualize, and share your workflows.

When to use this tag?

Use this tag when you have a question about the Step Functions service, about using the Step Functions service along with other AWS Services, or if you have questions about how to build cloud workflows in AWS. Also use this tag for questions you have about the Amazon States Language

Other Step Functions Resources

1505 questions
-1
votes
1 answer

How to invoke / trigger different multiple AWS Step Functions at a time , using a single AWS Lambda Function written in python?

please observe the below AWS Lambda function ( in python code) to invoke a single AWS Step Function: import boto3 def lambda_handler(event, context): print("stating to invoke the AWS Step function.") response = {"code":400, "message":""} try : …
-1
votes
2 answers

Exceeding the Lambda execution time out after 15 minutes

I am exceeding the Lambda execution time out after 15 mins. The reason why is because I have long running operations that are inserting and updating thousands of rows of data into Salesforce. Below is the code that is executing one by…
-1
votes
2 answers

How to invoke step functions parallely?

I have a list of 1000 items, so there will be 1000 step function running concurrently, one for each item. What's the fastest way to trigger this? (Using SQS or AWS lambda) ?
simple
  • 1
-1
votes
1 answer

Error when invoking lambda from StepFunction with paypload

I have a lambda and it's one of the steps of a StepFunction statemachine, the lambda handler looks like this below : def lambda_handler(event, context): year = event['year'] #payload month = event['month'] #payload …
-1
votes
1 answer

Stop/Start the execution of a step function programatically

I have a step function (stateA) which run indefinitely and another stepfunction (stateB) whose execution typically last for around 2-3 days. Execution of stateB takes precedence over state A. I'm looking to run stateA from 12 AM to 12 PM and stateB…
-1
votes
1 answer

Access AWS step function error in lambda (Python) code

I used this link to include the previous state and error details in the "catch" block for a state in AWS step function : https://docs.aws.amazon.com/step-functions/latest/dg/input-output-resultpath.html#input-output-resultpath-catch And I am able to…
Indi
  • 1,401
  • 13
  • 30
-1
votes
2 answers

Invoke step function in account A from a lambda in account B using cdk

I have a lambda stack that is deployed in account A, and a stepfunction stack deployer in account B. Now How do I invoke this stepfunction from the lambda using python cdk? specifically what permissions do i need to give them?
-1
votes
1 answer

How to trace job status in AWS State machines with C#?

I submit jobs to state machine like: "Manage Batch task": { "Type": "Task", "Resource": "arn:aws:states:::batch:submitJob.sync", "Parameters": { "JobDefinition": "arn:aws:batch:us-east-2:123456789012:job-definition/testJobDefinition", …
Deritha
  • 67
  • 2
  • 9
-1
votes
1 answer

Is it possible to call AWS Step Function from Mulesoft?

I am new to both platform. Is it possible if I will invoke AWS Step function from Mulesoft?
San
  • 307
  • 1
  • 3
  • 18
-1
votes
1 answer

Invoke AWS Step Function from AWS Lambda Proxy (AWS API Gateway) .NET SAM Template

I have a AWS API Gateway, deployed using SAM template. The API request comes to the Proxy Lambda Function. From there I need to call a AWS Step Function which invokes multiple Lambda Functions. I have multiple Solutions. Following Microservices…
-1
votes
1 answer

AWS SDK state machine returns response before completing the execution

I have an AWS state machine which calls the lambda function when executed. I used AWS StepFunctions SDK for .Net to execute the state machine. StartExecution method in the SDK return as soon as the state machine execution started. I want the…
nff
  • 151
  • 2
  • 15
-2
votes
1 answer

Trigger Step functions without eventbridge?

My team are required to kick off a Step Function in AWS for a machine learning application. In my organisation eventBridge is not allowed to be used (politics around adoption of certain technologies) - and the same is with cloud watch events as this…
-2
votes
2 answers

AWS - Step Function - Lamba Invoke - The role defined for the function cannot be assumed by Lambda

I am trying to make a simple step function workflow but something really, really strange is happening. I am trying to chain a "putItem" inside a dynamoDB, with a basic lambda. I am quite literally following the documentation step by step, yet…
-2
votes
1 answer

How to use api gateway with openAPI to pass json to step function using serverless framework?

How do I invoke an AWS Step Function using an API Gateway POST request using openAPI and then pass the JSON on to a step function, all defined using the serverless framework? Below is what i've got so far, i've given the correct permissions to the…
-2
votes
1 answer

Lambda to call incoming webhooks

I have been using a bash script to call a webhook that trigger azure devops pipeline, now want to use lambda function to do the same thing but am having issue with identation. def lambda_handler(event, context): import subprocess …
user5820327
  • 181
  • 1
  • 2
  • 15
1 2 3
99
100