How to avoid simultaneous execution in aws step function


Currently I have a use case that a cloud watch rule will trigger a step function every 5 minutes. I want to have a logic to skip starting another execution if there is one execution already running in step function. Any way to do that?


Instead of having your CloudWatch event rule trigger the Step Function directly, you could have it trigger a Lambda function. The Lambda function could check if there are any Step Function executions in the RUNNING state, via the ListExecutions API. If not, the Lambda function could start a new execution via the StartExecution API.



  • How to persist data from the entity class and combined with data transfer object?
  • Why -Xmn1m -XX:SurvivorRatio=2 makes eden space 0k
  • Cut and Table function in R
  • Unable to replicate an encryption format from Java to PHP
  • How to display or get an image from Firebase storage
  • WPF: Run Validator on two comboboxes as the same time
  • phonegap: is it possible to detect double touch swipe from Javascript?
  • angular 2 websql typings
  • Avoiding administrator access for SslStream.AuthenticateAsClient?
  • Proper Form of API request to Blogger using Java/App Engine -error 401
  • Combine rows with same id and delete duplicated rows
  • How to concatenate data.frame inside lists by using names?
  • Spring batch pause/resume vs stop/restart
  • Parsing a complicated array with GetJSON Jquery
  • AngularJS Dynamic Directives inside ng-repeat
  • Call a specific instance of a service in Azure Service Fabric
  • Querying combinations of JSON returns odd results
  • Mask Image to Video Frame similar as MV Master
  • How to make infinite threaded comments
  • Accessing Dictionaries VS Accessing Shelves
  • Specify the _id field using Bulk.IndexMany in ElasticSearch
  • jqGrid Filter Toolbar and Date and Select filters
  • Spongycastle is missing many algorithms when loaded on android
  • why 'read' command in shell script is missing initial characters? [duplicate]
  • connect.cookieParser and connect.session
  • jQuery - Prevent activation on first click
  • Laravel 5 - Cache remember doesn't work
  • Generate a runnable jar and include libraries in it with Maven
  • Battery life if using GPS and background app ios/android
  • Creating Dictionaries from Lists inside of Dictionaries
  • Extracting a small subset of data from XMLs
  • git clone, upload-pack out of memory
  • Request Access Token in Postman for Azure Function App protected by Azure AD B2C
  • time column in sqlite using gorm
  • When to use the tag in the head and body section of a html page? [duplicate]
  • how to snap two objects in runtime in unity?
  • matrix multiplication apache pig
  • ssh remote server login script