runner.ec2-vm-disk-usage-probe ​
Probe EC2 VM disk usage through SSM workflow primitives
Read root disk usage for EC2 runner VMs through SSM base workflows.
Overview ​
| Property | Value |
|---|---|
| Workflow type | Linear |
| Library | App-runners-aws |
| Version | 1.0 |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
connection_uuid | uuid | Yes | — | UUID of the CloudConnection used by this workflow, picked from the organization's connections, narrowed to AWS connections since this workflow only operates on EC2 VM runners. |
region | string | Yes | — | — |
instance_ids | json | Yes | — | — |
timeout_seconds | integer | No | — | — |
organization_uuid | uuid | No | — | UUID of the caller's organization, injected server-side from the authenticated request; scopes the operation to the correct tenant. |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
connection_uuid | uuid | No | — | UUID of the CloudConnection used by this workflow, echoed from input; picked from the organization's AWS-scoped connections. |
region | string | No | — | — |
instance_ids | json | No | — | — |
disk_used_pct_by_instance_id | json | No | — | — |
source_error | string | No | — | — |
completed_at | string | No | — | — |
failed_at | string | No | — | — |
failure_reason | string | No | — | — |
error | string | No | — | — |
error_type | string | No | — | — |
failed_at_state | string | No | — | — |
failed_layer | json | No | — | — |
failed_step | json | No | — | — |
States ​
| State | Initial | Terminal | Success | Auto-advance | Description |
|---|---|---|---|---|---|
pending | Yes | No | — | probe | — |
probing | No | No | — | complete | — |
completed | No | Yes | Yes | — | — |
failed | No | Yes | No | — | — |
State Diagram ​
Transitions ​
| From | Action | To | Description |
|---|---|---|---|
pending | probe | probing | — |
probing | complete | completed | — |
* (any state) | fail | failed | — |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "runner.ec2-vm-disk-usage-probe",
"initial_data": {
"connection_uuid": "value",
"region": "value",
"instance_ids": "value"
}
}