403Webshell
Server IP : 138.197.107.151  /  Your IP : 216.73.217.120
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux BloxBy-Builder 6.8.0-71-generic #71-Ubuntu SMP PREEMPT_DYNAMIC Tue Jul 22 16:52:38 UTC 2025 x86_64
User : wpbetasites_mrakzqskir ( 1022)
PHP Version : 8.3.6
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/bsd-crawler-parser/aws/dist/awscli/examples/ecs/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/bsd-crawler-parser/aws/dist/awscli/examples/ecs/list-task-definitions.rst
**Example 1: To list the registered task definitions**

The following ``list-task-definitions`` example lists all of the registered task definitions. ::

    aws ecs list-task-definitions

Output::

    {
        "taskDefinitionArns": [
            "arn:aws:ecs:us-west-2:123456789012:task-definition/sleep300:2",
            "arn:aws:ecs:us-west-2:123456789012:task-definition/sleep360:1",
            "arn:aws:ecs:us-west-2:123456789012:task-definition/wordpress:3",
            "arn:aws:ecs:us-west-2:123456789012:task-definition/wordpress:4",
            "arn:aws:ecs:us-west-2:123456789012:task-definition/wordpress:5",
            "arn:aws:ecs:us-west-2:123456789012:task-definition/wordpress:6"
        ]
    }

**Example 2: To list the registered task definitions in a family**

The following `list-task-definitions` example lists the task definition revisions of a specified family. ::

    aws ecs list-task-definitions --family-prefix wordpress

Output::

    {
        "taskDefinitionArns": [
            "arn:aws:ecs:us-west-2:123456789012:task-definition/wordpress:3",
            "arn:aws:ecs:us-west-2:123456789012:task-definition/wordpress:4",
            "arn:aws:ecs:us-west-2:123456789012:task-definition/wordpress:5",
            "arn:aws:ecs:us-west-2:123456789012:task-definition/wordpress:6"
        ]
    }

For more information, see `Amazon ECS Task Definitions <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definitions.html>`_ in the *Amazon ECS Developer Guide*.

Youez - 2016 - github.com/yon3zu
LinuXploit