Recipe
task-ecs
The generic ephemeral compute primitive as an Amazon ECS task on Fargate that an EventBridge Scheduler schedule starts, rendered from the catalog's shared Amazon ECS fragment. Reach for it where the target is an AWS account with an ECS cluster and a VPC; reach for helm/task on Kubernetes, which also runs a task with no schedule once. A task with no schedule carrying core/manual-trigger is deployed without starting, its task definition alone; the operator starts each run with aws ecs run-task, giving the cluster, task definition and network configuration from infra.overrides. A scheduled task runs on its schedule, attached or not. Any other unscheduled task is refused by name, as nothing on AWS starts it. The cron fields become the scheduler's own expression where the two mean the same times, evaluated in UTC unless the Release names a time zone, and are refused by name where they do not, as for a schedule restricting both the day of the month and the day of the week. The cluster, subnets, security groups, execution role and, with a schedule, the scheduler's role come from infra.overrides and are required. Only an AWS::ECS::TaskDefinition and, with a schedule, an AWS::Scheduler::Schedule are emitted: no role, log group or network resource, each of which the operator already runs, and no service, as a run ends. Each env entry an edge or the component's own inject block dictates becomes a container variable; timeout arrives by default as TASK_TIMEOUT, which no edge may dictate while it is the default, for the code to honour, as ECS sets no deadline on a run. File, arg and other entries are refused by name. The task runs at the smallest Fargate size meeting infra.compute.
Provenance
- Empreinte du contenu
- sha256:fd1139b1d3c3eddfd5534148ead0729f8625f9cd2324ef8410b214325d9354e9
- Publié
- 2026-11-23T02:46:44Z
- Identité de signature
- https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
Signature
- Officielapplication/vnd.dev.sigstore.bundle.v0.3+json
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
sha256:fa5967c78abfda24265b41ad5c64429c58875d9d127addde780d8e56eb1818a6
Référence à cette version
oci://hub.aggrega.ai/recipe/cloudformation/task-ecs:1.1.0- Cible
- —
- Implémente
- core/compute/task:1.0.1
Fournit
Modèles de pointeurs déterministes que cette recette câble pour les consommateurs.
Aucun modèle provides déclaré.
Workload
Aucun modèle de charge de travail déclaré.
Variables locales
| Nom | Modèle |
|---|---|
| value_env | {"values.timeout": "TASK_TIMEOUT"} |
Correspondance des valeurs
Aucune correspondance des valeurs déclarée.
Relations
Arêtes typées vers et depuis d’autres entités publiées. Une référence sans cible publiée s’affiche comme une arête rompue plutôt que comme un lien.
Utilise
- implémenteimplémente
core/compute/task:1.0.1
Utilisé par
Rien dans le catalogue ne dépend de cette entité.