runner.set_log_group_retention ​
Apply the configured CloudWatch retention policy to a runner log group.
Overview ​
| Property | Value |
|---|---|
| Workflow type | Dag |
| Library | App-runners-aws |
| Version | 1.0 |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
runner_group_uuid | uuid | Yes | — | UUID of the RunnerGroup this wrapper step operates on, picked from the organization's list of runner groups. |
organization_uuid | uuid | No | — | UUID of the caller's organization, injected server-side from the authenticated request; scopes the operation to the correct tenant. Optional here because this wrapper step is invoked programmatically by a parent DAG, which forwards it from its own context rather than the caller supplying it directly. |
workflow_run_uuid | string | No | — | DAG run id forwarded by the parent step's action_start. Engine workflow-run identifier; not a platform entity foreign key despite the name. System-generated, no source needed. |
workflow_run_id | string | No | — | Engine DAG run id forwarded by child step execution. |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
runner_group_uuid | uuid | No | — | UUID of the RunnerGroup this wrapper step operates on, picked from the organization's list of runner groups. |
organization_uuid | uuid | No | — | UUID of the caller's organization, injected server-side from the authenticated request; scopes the operation to the correct tenant. |
primitive_input | json | No | — | — |
primitive_output | json | No | — | — |
workflow_run_uuid | string | No | — | Internal engine DAG-run correlation id forwarded by the parent step; not a platform entity foreign key despite the name. System-generated, no source attached by design. |
workflow_run_id | string | No | — | — |
pre | json | No | — | — |
primitive | json | No | — | — |
post | json | No | — | — |
cluster_arn | json | No | — | — |
cluster_status | json | No | — | — |
log_group_name | json | No | — | — |
retention_in_days | json | No | — | — |
task_definition_arn | json | No | — | — |
launch_template_ref | json | No | — | — |
launch_template_id | json | No | — | — |
auto_scaling_group_name | json | No | — | — |
capacity_provider_name | json | No | — | — |
ami_ref | json | No | — | — |
ami_id | json | No | — | — |
instance_profile_arn | json | No | — | — |
instance_profile_name | json | No | — | — |
connection_uuid | json | No | — | UUID of the Connection backing this primitive's cloud backend, picked from the organization's connections. |
cloud_connection_uuid | json | No | — | UUID of the CloudConnection backing this primitive's cloud backend, picked from the organization's connections. |
namespace | json | No | — | — |
name | json | No | — | — |
deployment_name | json | No | — | — |
registration_secret_name | json | No | — | — |
failed_step | json | No | — | — |
failed_layer | json | No | — | — |
failed_at_state | json | No | — | — |
compensation_trigger | json | No | — | — |
comp_current_layer | json | No | — | — |
comp_queue | json | No | — | — |
comp_retry_count | json | No | — | — |
error | string | No | — | — |
error_type | string | No | — | — |
failure_reason | string | No | — | — |
connection_ref | json | No | — | — |
existed | json | No | — | — |
deleted | json | No | — | — |
tags | json | No | — | — |
capacity_providers | json | No | — | — |
default_capacity_provider_strategy | json | No | — | — |
status | json | No | — | — |
cluster_name | json | No | — | — |
DAG Layers ​
| # | Layer | Steps | Compensation |
|---|---|---|---|
| 1 | pre | runner.set_log_group_retention__pre | — |
| 2 | primitive | aws.logs.put_retention_policy | — |
| 3 | post | runner.set_log_group_retention__post | — |
Execution Flow ​
Sub-workflows ​
| Sub-workflow | Step name |
|---|---|
runner.set_log_group_retention__pre | pre |
aws.logs.put_retention_policy | primitive |
runner.set_log_group_retention__post | post |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "runner.set_log_group_retention",
"initial_data": {
"runner_group_uuid": "value"
}
}