capabilities.work

Run a Workflow in a Run Group

A 3-step recipe with Amazon HealthOmics. We can help you get access.

Recipe · 3 steps

Run a Workflow in a Run Group

Create a run group, start a run within it, and wait for the run to finish.

  1. Create a run group that caps concurrency and resource usage for its runs.
  2. Start a run inside the new run group against an existing workflow.
  3. Poll the run until it reaches a terminal status. The status enum is PENDING, STARTING, RUNNING, STOPPING, COMPLETED, DELETED, CANCELLED, or FAILED.
What you'll need to have ready
  • groupName: A name for the run group.
  • maxCpus: The maximum number of CPUs the group may use.
  • maxRuns: The maximum number of concurrent runs in the group.
  • maxDuration: A maximum run time for the group in minutes.
  • groupRequestId: Idempotency token for the CreateRunGroup request.
  • workflowId: The existing workflow ID to run.
  • roleArn: The service role ARN the run assumes.
  • runName: A name for the run.
  • parameters: Parameters passed to the run.
  • runRequestId: Idempotency token for the StartRun request.
For your developer

Arazzo workflow amazon-healthomics:run-workflow-in-group, 3 operations: CreateRunGroup → StartRun → GetRun. Specs on APIs.io.