aws ecs get-task-protection
Retrieves the protection status of tasks in an Amazon ECS service. AWS CLI reference
2 options Its page in the AWS CLI reference
Options
--clusterThe short name or full Amazon Resource Name (ARN) of the cluster that hosts the service that the task sets exist in.--tasksA list of up to 100 task IDs or full ARN entries.