Create or update an ECS task definition revision from JSON.
Section: Task Definitions and Tasks
Register a task definition
bash
bash
aws ecs register-task-definition --cli-input-json file://taskdef.jsonExplanation
Task definitions describe containers, CPU, memory, networking, and IAM roles.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Task Definitions and Tasks