Amazon ECS extends CPU and memory condition keys to RunTask and StartTask
Facts read 16 Nov 2026. Page reviewed 16 Nov 2026.
AWS announced on 10 September 2026 that the ecs:task-cpu and ecs:task-memory IAM condition keys now apply to the RunTask and StartTask APIs. AWS says administrators can enforce the same CPU and memory limits however a task is launched, at no additional cost in all Regions where ECS is available.
All news ยท Open the calculator
AWS What's New, posted 10 September 2026, says the ecs:task-cpu and ecs:task-memory condition keys were available only on RegisterTaskDefinition, CreateService and UpdateService. They are now also evaluated on RunTask and StartTask.
AWS frames the change as a single mechanism to control resource allocation across ECS environments and to prevent unexpected cost overruns. For access control, it means a policy that caps task size no longer has a gap for tasks started directly, and the change is available in all Regions where ECS is available.
Related pages
Sources
- https://aws.amazon.com/about-aws/whats-new/2026/09/amazon-ecs-expands-condition-key-support/, read 16 Nov 2026
Last reviewed 16 Nov 2026.