Skip to content

RunGroup

Source: src/AWS/Omics/RunGroup.ts

An Amazon HealthOmics run group — a resource-limit envelope for workflow runs. A run group caps the vCPUs, GPUs, concurrent runs, and per-run duration for the workflow runs assigned to it.

A run group name is auto-generated from the app, stage, and logical ID unless you provide one. All limits are mutable in place.

Basic Run Group

import * as Omics from "alchemy/AWS/Omics";
const group = yield* Omics.RunGroup("Batch");

Run Group with Limits

const group = yield* Omics.RunGroup("Batch", {
name: "nightly-batch",
maxCpus: 100,
maxRuns: 10,
maxDuration: "10 hours",
});