Skip to content

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 ​

MetricValue
PARITY entries audited65 (63 ok, 2 partial)
Feature families1 (1 ok)
Known gaps4
Structural gaps (can't be emulated)5
Deferred items0
Resource leaksclean

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
OperationWireErrorsStatePersist
CreateClusterokokokok
DescribeClustersokokokok
DeleteClusterokokokok
ListClustersokokokok
UpdateClusterokokokok
UpdateClusterSettingsokokokok
PutClusterCapacityProvidersokokokok
RegisterTaskDefinitionokokokok
DescribeTaskDefinitionokokokok
DeregisterTaskDefinitionokokokok
DeleteTaskDefinitionsokokokok
ListTaskDefinitionsokokokok
ListTaskDefinitionFamiliesokokokok
CreateServiceokokokok
DescribeServicesokokokok
UpdateServiceokokokok
DeleteServiceokokokok
ListServicesokokokok
ListServicesByNamespaceokokokok
CreateTaskSetokokokok
DeleteTaskSetokokokok
DescribeTaskSetsokokokok
UpdateTaskSetokokokok
UpdateServicePrimaryTaskSetokokokok
DescribeServiceRevisionsokokokok
DescribeServiceDeploymentsokokokok
ListServiceDeploymentsokokokok
StopServiceDeploymentokokokok
ContinueServiceDeploymentokokpartialn/a
RunTaskokokokok
StartTaskokpartialpartialok
DescribeTasksokokokok
StopTaskokokokok
ListTasksokokokok
RegisterContainerInstanceokokokok
DeregisterContainerInstanceokokokok
DescribeContainerInstancesokokokok
ListContainerInstancesokokokok
UpdateContainerInstancesStateokokokok
UpdateContainerAgentokokokok
CreateCapacityProviderokokokok
DeleteCapacityProviderokokokok
DescribeCapacityProvidersokokokok
UpdateCapacityProviderokokokok
DeleteAccountSettingokokokok
ListAccountSettingsokokokok
PutAccountSettingokokokok
PutAccountSettingDefaultokokokok
DeleteAttributesokokokok
ListAttributesokokokok
PutAttributesokokokok
ExecuteCommandokokokok
GetTaskProtectionokokokok
UpdateTaskProtectionokokokok
TagResourceokokokok
UntagResourceokokokok
ListTagsForResourceokokokok
CreateExpressGatewayServiceokokokok
DeleteExpressGatewayServiceokokokok
DescribeExpressGatewayServiceokokokok
UpdateExpressGatewayServiceokokokok
DiscoverPollEndpointokokokn/a
SubmitAttachmentStateChangesokokokok
SubmitContainerStateChangeokokokok
SubmitTaskStateChangeokokokok

Audited Feature Families ​

Feature FamilyStatus
daemonok

Released under the MIT License.