PATH:
usr
/
local
/
jetapps
/
var
/
lib
/
aws
/
lib
/
python2.7
/
site-packages
/
awscli
/
examples
/
ecs
**To list your registered task definitions** This example command lists all of your registered task definitions. Command:: aws ecs list-task-definitions Output:: { "taskDefinitionArns": [ "arn:aws:ecs:us-east-1:<aws_account_id>:task-definition/sleep300:2", "arn:aws:ecs:us-east-1:<aws_account_id>:task-definition/sleep360:1", "arn:aws:ecs:us-east-1:<aws_account_id>:task-definition/wordpress:3", "arn:aws:ecs:us-east-1:<aws_account_id>:task-definition/wordpress:4", "arn:aws:ecs:us-east-1:<aws_account_id>:task-definition/wordpress:5", "arn:aws:ecs:us-east-1:<aws_account_id>:task-definition/wordpress:6" ] } **To list the registered task definitions in a family** This example command lists the task definition revisions of a specified family. Command:: aws ecs list-task-definitions --family-prefix wordpress Output:: { "taskDefinitionArns": [ "arn:aws:ecs:us-east-1:<aws_account_id>:task-definition/wordpress:3", "arn:aws:ecs:us-east-1:<aws_account_id>:task-definition/wordpress:4", "arn:aws:ecs:us-east-1:<aws_account_id>:task-definition/wordpress:5", "arn:aws:ecs:us-east-1:<aws_account_id>:task-definition/wordpress:6" ] }
[-] list-container-instances.rst
[edit]
[-] list-task-definitions.rst
[edit]
[-] delete-cluster.rst
[edit]
[-] list-clusters.rst
[edit]
[+]
..
[-] describe-task-definition.rst
[edit]
[-] register-task-definition.rst
[edit]
[-] deregister-task-definition.rst
[edit]
[-] list-services.rst
[edit]
[-] delete-service.rst
[edit]
[-] deregister-container-instance.rst
[edit]
[-] list-tasks.rst
[edit]
[-] update-service.rst
[edit]
[-] list-task-definition-families.rst
[edit]
[-] update-container-agent.rst
[edit]
[-] create-service.rst
[edit]
[-] describe-tasks.rst
[edit]
[-] describe-clusters.rst
[edit]
[-] run-task.rst
[edit]
[-] create-cluster.rst
[edit]
[-] describe-services.rst
[edit]
[-] describe-container-instances.rst
[edit]