Amazon ECS expands IAM condition key support for RunTask and StartTask APIs
Amazon ECS now supports CPU and memory resource IAM condition keys on RunTask and StartTask APIs, enabling consistent resource limits across all ECS task launch methods
Amazon Elastic Container Service (Amazon ECS) now supports CPU and memory resource IAM condition keys for the RunTask and StartTask APIs. This allows administrators to apply consistent CPU and memory limits across all ECS task launch methods, preventing unexpected cost overruns and keeping workloads aligned with resource policies. Previously, the ecs:task-cpu and ecs:task-memory condition keys were only available for RegisterTaskDefinition, CreateService, and UpdateService APIs. With this enhancement, these keys are also available for RunTask and StartTask APIs, enabling unified resource allocation control across the entire ECS environment. This feature is available in all AWS regions for Amazon ECS at no additional cost. For more information on using condition keys with Amazon ECS, see the documentation.
Why it matters
This change affects administrators who need to uniformly manage CPU and memory resources for ECS tasks through IAM policies