Sophie

Sophie

distrib > Mageia > 7 > i586 > by-pkgid > dd7204292d310452063d09b5de9c13b7 > files > 907

aws-cli-docs-1.16.163-1.mga7.noarch.rpm

**To describe a cluster**

The following ``describe-clusters`` example retrieves details about the specified cluster. ::

    aws ecs describe-clusters --cluster default

Output::

    {
        "clusters": [
            {
                "status": "ACTIVE",
                "clusterName": "default",
                "registeredContainerInstancesCount": 0,
                "pendingTasksCount": 0,
                "runningTasksCount": 0,
                "activeServicesCount": 1,
                "clusterArn": "arn:aws:ecs:us-west-2:123456789012:cluster/default"
            }
        ],
        "failures": []
    }

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