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.
来源
- 内容摘要
- sha256:fd1139b1d3c3eddfd5534148ead0729f8625f9cd2324ef8410b214325d9354e9
- 发布时间
- 2026-11-23T02:46:44Z
- 签名身份
- https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
签名
- 官方application/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
此版本的引用
oci://hub.aggrega.ai/recipe/cloudformation/task-ecs:1.1.0- 目标
- —
- 实现
- core/compute/task:1.0.1
提供
此配方为使用方接入的确定性指针模板。
未声明 provides 模板。
Workload
未声明工作负载模板。
局部变量
| 名称 | 模板 |
|---|---|
| value_env | {"values.timeout": "TASK_TIMEOUT"} |
值映射
未声明值映射。
关系
与其他已发布实体之间的类型化边。没有已发布目标的引用会呈现为断开的边,而不是链接。
使用
- 实现实现
core/compute/task:1.0.1
被使用
目录中没有任何内容依赖此实体。