ECS
Parity grade: A · SDK aws-sdk-go-v2/service/ecs@v1.100.3 · last audited 2026-10-07 (30db30dd8)
Category: Containers · View PARITY.md on GitHub · All Services
Parity & Coverage
| Metric | Value |
|---|---|
| PARITY entries audited | 65 (63 ok, 2 partial) |
| Feature families | 1 (1 ok) |
| Known gaps | 4 |
| Structural gaps (can't be emulated) | 5 |
| Deferred items | 0 |
| Resource leaks | clean |
Known Gaps
- Docker runtime container definition: firelensConfiguration and awsfirelens log routing (a task using either fails with TaskFailedToStart instead of starting the log router) and resourceRequirements (GPU) are stored but not applied; ephemeralStorage is validated (21 to 200 GiB) and reported on the task but not enforced on disk.
- Docker runtime: Task-level cpu/memory bound every container (a container without a hard memory limit gets the task memory as its ceiling, NanoCPUs is the task vCPUs) but Docker has no task cgroup, so the sum across containers is not enforced at run time (registration rejects sums above the task values). host and none network-mode containers cannot join the link-local credentials relay, and awsvpc tasks (pause container plus task network) are never adopted after an emulator restart. Managed EBS volumes: filesystemType is not applied (the Docker volume uses the local driver), volumeInitializationRate is echo only, and StartTask and ServiceRevision do not carry volumeConfigurations.
- ECS Exec: sessions exist only on the docker and kubernetes runtimes with the SSM service enabled (otherwise TargetNotConnectedException); the command runs as
sh -c <command>through docker exec or pods/exec, and the ssmmessages IAM checks are not applied. executeCommandConfiguration logging is delivered when the session ends; KMS encryption is recorded, not performed (see External effects). - Kubernetes runtime (CONTAINER_RUNTIME=kubernetes, docs/kubernetes.md): one Pod per task. Refused with TaskFailedToStart: host-path/EFS/configuredAtLaunch/shared-docker volumes, networkMode host/none, pidMode/ipcMode host, privileged, devices, container restartPolicy, repositoryCredentials, FireLens, dependsOn COMPLETE/HEALTHY; ulimits/ephemeralStorage ignored; dependsOn START is not ordered; a never-ready health check stays UNKNOWN; no security-group enforcement; tasks are not adopted after a restart.
Structural Gaps
These do not block an A grade — no implementation could produce real data here because the underlying data source cannot exist in an emulator.
- Service Connect: ServiceConnectConfiguration is stored and echoed, and ListServicesByNamespace matches on it, but Service Connect proxies and its Cloud Map instance registration are not modeled.
- Cloud Map registration of bridge/host-mode EC2 tasks: container instances have no modeled private IP, so only awsvpc tasks (ENI IP) are registered; tasks carry no placement AZ, so AVAILABILITY_ZONE is <region>a.
- AWS/ECS CPUUtilization/MemoryUtilization are emitted only for docker-runtime tasks; the noop runner has no container stats to measure.
- Daemon-launched tasks: ECS Managed Daemons run only on Managed Instances capacity providers, which provision EC2 hosts this emulator does not model, so ListTasks.daemonName filters correctly but no task ever belongs to a daemon.
- awslogs without awslogs-stream-prefix names the stream after the runtime container ID: exact under the docker runtime, but without a container runtime no container ID exists and the task ID stands in.
Audited Operations
65 audited operations
| Operation | Wire | Errors | State | Persist |
|---|---|---|---|---|
CreateCluster | ok | ok | ok | ok |
DescribeClusters | ok | ok | ok | ok |
DeleteCluster | ok | ok | ok | ok |
ListClusters | ok | ok | ok | ok |
UpdateCluster | ok | ok | ok | ok |
UpdateClusterSettings | ok | ok | ok | ok |
PutClusterCapacityProviders | ok | ok | ok | ok |
RegisterTaskDefinition | ok | ok | ok | ok |
DescribeTaskDefinition | ok | ok | ok | ok |
DeregisterTaskDefinition | ok | ok | ok | ok |
DeleteTaskDefinitions | ok | ok | ok | ok |
ListTaskDefinitions | ok | ok | ok | ok |
ListTaskDefinitionFamilies | ok | ok | ok | ok |
CreateService | ok | ok | ok | ok |
DescribeServices | ok | ok | ok | ok |
UpdateService | ok | ok | ok | ok |
DeleteService | ok | ok | ok | ok |
ListServices | ok | ok | ok | ok |
ListServicesByNamespace | ok | ok | ok | ok |
CreateTaskSet | ok | ok | ok | ok |
DeleteTaskSet | ok | ok | ok | ok |
DescribeTaskSets | ok | ok | ok | ok |
UpdateTaskSet | ok | ok | ok | ok |
UpdateServicePrimaryTaskSet | ok | ok | ok | ok |
DescribeServiceRevisions | ok | ok | ok | ok |
DescribeServiceDeployments | ok | ok | ok | ok |
ListServiceDeployments | ok | ok | ok | ok |
StopServiceDeployment | ok | ok | ok | ok |
ContinueServiceDeployment | ok | ok | partial | n/a |
RunTask | ok | ok | ok | ok |
StartTask | ok | partial | partial | ok |
DescribeTasks | ok | ok | ok | ok |
StopTask | ok | ok | ok | ok |
ListTasks | ok | ok | ok | ok |
RegisterContainerInstance | ok | ok | ok | ok |
DeregisterContainerInstance | ok | ok | ok | ok |
DescribeContainerInstances | ok | ok | ok | ok |
ListContainerInstances | ok | ok | ok | ok |
UpdateContainerInstancesState | ok | ok | ok | ok |
UpdateContainerAgent | ok | ok | ok | ok |
CreateCapacityProvider | ok | ok | ok | ok |
DeleteCapacityProvider | ok | ok | ok | ok |
DescribeCapacityProviders | ok | ok | ok | ok |
UpdateCapacityProvider | ok | ok | ok | ok |
DeleteAccountSetting | ok | ok | ok | ok |
ListAccountSettings | ok | ok | ok | ok |
PutAccountSetting | ok | ok | ok | ok |
PutAccountSettingDefault | ok | ok | ok | ok |
DeleteAttributes | ok | ok | ok | ok |
ListAttributes | ok | ok | ok | ok |
PutAttributes | ok | ok | ok | ok |
ExecuteCommand | ok | ok | ok | ok |
GetTaskProtection | ok | ok | ok | ok |
UpdateTaskProtection | ok | ok | ok | ok |
TagResource | ok | ok | ok | ok |
UntagResource | ok | ok | ok | ok |
ListTagsForResource | ok | ok | ok | ok |
CreateExpressGatewayService | ok | ok | ok | ok |
DeleteExpressGatewayService | ok | ok | ok | ok |
DescribeExpressGatewayService | ok | ok | ok | ok |
UpdateExpressGatewayService | ok | ok | ok | ok |
DiscoverPollEndpoint | ok | ok | ok | n/a |
SubmitAttachmentStateChanges | ok | ok | ok | ok |
SubmitContainerStateChange | ok | ok | ok | ok |
SubmitTaskStateChange | ok | ok | ok | ok |
Audited Feature Families
| Feature Family | Status |
|---|---|
daemon | ok |
