AWS Security ChangesHomeSearch

AWS AmazonECS documentation change

Service: AmazonECS · 2025-05-16 · Documentation low

File: AmazonECS/latest/developerguide/task-scale-in-protection.md

Summary

Updated attribute names to use PascalCase and added AWS CLI parameter examples for task scale-in protection

Security assessment

The changes document existing security-related functionality (task termination protection) but do not address a specific security vulnerability. The updates improve clarity and add CLI examples for an existing security feature that prevents unintended task termination during scaling events.

Diff

diff --git a/AmazonECS/latest/developerguide/task-scale-in-protection.md b/AmazonECS/latest/developerguide/task-scale-in-protection.md
index 9053836ee..4842f6330 100644
--- a//AmazonECS/latest/developerguide/task-scale-in-protection.md
+++ b//AmazonECS/latest/developerguide/task-scale-in-protection.md
@@ -22 +22 @@ Certain applications require a mechanism to safeguard mission-critical tasks fro
-To protect tasks that belong to your service from terminating in a scale-in event, set the `protectionEnabled` attribute to `true`. When you set `protectionEnabled` to true, tasks are protected for 2 hours by default. You can then customize the protection period by using the `expiresInMinutes` attribute. You can protect your tasks for a minimum of 1 minute and up to a maximum of 2880 minutes (48 hours).
+To protect tasks that belong to your service from terminating in a scale-in event, set the `ProtectionEnabled` attribute to `true`. When you set `ProtectionEnabled` to true, tasks are protected for 2 hours by default. You can then customize the protection period by using the `ExpiresInMinutes` attribute. You can protect your tasks for a minimum of 1 minute and up to a maximum of 2880 minutes (48 hours). If you're using the AWS CLI, you can specify the `--protection-enabled` option.
@@ -24 +24 @@ To protect tasks that belong to your service from terminating in a scale-in even
-After a task finishes its requisite work, you can set the `protectionEnabled` attribute to `false`, allowing the task to be terminated by subsequent scale-in events.
+After a task finishes its requisite work, you can set the `ProtectionEnabled` attribute to `false`, allowing the task to be terminated by subsequent scale-in events. If you're using the AWS CLI, you can specify the `--no-protection-enabled` option.