ContainerTasks Object
Relationships
graph LR
ContainerTasks -->|"account"| Accounts
ContainerTasks -->|"cluster"| ContainerClusters
ContainerTasks -->|"task_definition"| ContainerTaskDefinitions
ContainerTasks -->|"service"| ContainerServices
Properties
Truto's stable unified identifier for this object. Opaque; use provider_id to address the object in the provider's own console or API.
Availability zone the task runs in.
The capacity pool that placed the task, verbatim (on AWS ECS: the capacity provider name).
The container cluster this object runs in.
The target's id.
When Truto actually read this object from the provider, in UTC ISO 8601 with the offset present — not the request time, and not a provider timestamp.
Where the task runs, normalised. serverless: the provider runs the machines (AWS Fargate, Azure Container Apps consumption, GCP Cloud Run). customer_managed_servers: servers in the customer's account that the customer runs (on AWS ECS: EC2 container instances). provider_managed_servers: servers in the customer's account that the provider patches and scales (on AWS: ECS Managed Instances). external_servers: the customer's own servers outside the cloud (on AWS: ECS Anywhere).
serverlesscustomer_managed_serversprovider_managed_serversexternal_serversunknown
The containers in the task.
Container health, normalised. Verbatim in remote_data (on AWS ECS: containers[].healthStatus).
healthyunhealthyunknown
Image reference, verbatim.
The resolved image digest the container runs.
Container name.
NAMES of environment variables set by start-time overrides for this container. Values are never returned.
Container state, normalised. Verbatim in remote_data (on AWS ECS: containers[].lastStatus).
pendingrunningstoppedunknown
When the object was created at the provider, in UTC ISO 8601. Null when the provider does not record one - see unreadable_fields.
The state the orchestrator is driving the task to, normalised. provider_desired_status has the value verbatim.
pendingrunningstoppedunknown
Whether interactive exec into the containers is turned on.
Health of the essential containers, normalised. unknown also covers containers without a health check. provider_health_status has the value verbatim.
healthyunhealthyunknown
The provider's own type string, unmodified — for example 'AWS::S3::Bucket', 'aws_iam_role', 'Microsoft.Sql/servers'. Used for display and drill-down.
The serverless platform version (AWS Fargate only).
Private IPv4 address of the task's network interface (awsvpc networking).
Which cloud this object was read from.
awsazuregcp
The state the orchestrator is driving the task to, verbatim (on AWS ECS: PENDING, RUNNING or STOPPED).
Health of the essential containers, verbatim (on AWS ECS: HEALTHY, UNHEALTHY or UNKNOWN).
The provider's own identifier, passed through verbatim — a full ARN, resource id, or self-link. Never truncated, prefixed, or normalized.
The provider's own launch type, verbatim (on AWS ECS: EC2, FARGATE, EXTERNAL or MANAGED_INSTANCES).
The task's last known state, verbatim (on AWS ECS lastStatus: PROVISIONING, PENDING, ACTIVATING, RUNNING, DEACTIVATING, STOPPING, DEPROVISIONING, STOPPED, DELETED).
Why the task stopped, verbatim (on AWS ECS stopCode: TaskFailedToStart, EssentialContainerExited, UserInitiated, ServiceSchedulerInitiated, SpotInterruption, TerminationNotice).
Where the object is located. 'global' denotes genuinely global resources (e.g. IAM, GCP VPC networks) rather than a guessed region. A substituted region (when none is derivable) is flagged in unreadable_fields.
Raw data returned from the remote API call.
The service that started the task, when a service did. On AWS ECS built from the task's group (service:) and cluster as the long-format service ARN, arn::ecs:::service//; a service created before its account moved to long ARNs has a short ARN without the cluster, which this does not match.
The target's id.
When the task started running.
The task's last known state, normalised as compute_instances.state is. On AWS ECS: PROVISIONING, PENDING and ACTIVATING are pending; DEACTIVATING, STOPPING and DEPROVISIONING are stopping; STOPPED and DELETED are stopped. provider_status has the value verbatim.
pendingrunningstoppingstoppedunknown
Why the task stopped, normalised. Null while the task runs. On AWS ECS: TaskFailedToStart is failed_to_start, EssentialContainerExited is container_exited, UserInitiated is user_initiated, ServiceSchedulerInitiated is orchestrator_initiated, SpotInterruption and TerminationNotice are capacity_reclaimed. provider_stop_code has the value verbatim; stoppedReason in remote_data has the provider's own words.
failed_to_startcontainer_exiteduser_initiatedorchestrator_initiatedcapacity_reclaimedunknown
When the task stopped. Null while running.
Subnet of the task's network interface (awsvpc networking).
Key-value pairs exactly as the customer set them: no case folding, key/value normalization, or merging of separate provider concepts. An empty object means no tags; tags that could not be read appear in unreadable_fields instead.
The task definition revision the task was started from.
The target's id.
The task id (the last segment of the provider id).
Fields on this object that could not be read, and why. An empty array means everything was read. Use this to tell a real value from a missing one.
Explanation of the reason, where one adds anything.
The property on this resource that could not be read.
Why the field could not be read. available_on_get: Not read on list to keep the list fast; call GET for this resource's id to get it.
not_supported_by_providernot_configuredpermission_deniednot_collectedcollection_errorpartially_collectedavailable_on_get
When the object was last modified at the provider, in UTC ISO 8601. Null when the provider does not record one - see unreadable_fields.