Difference between revisions of "Aws ecs describe-clusters"

From wikieduonline
Jump to navigation Jump to search
 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{lowercase}}
 
{{lowercase}}
 +
[[aws ecs]] [[describe-clusters]]
 +
 
https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ecs/describe-clusters.html
 
https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ecs/describe-clusters.html
  
 +
* Status: <code>Active, Provisioning, Deprovisioning, Failed, Inactive</code>
 +
 +
== Examples ==
 +
aws ecs describe-clusters --cluster default
 +
{
 +
    "clusters": [
 +
        {
 +
            "status": "ACTIVE",
 +
            "clusterName": "default",
 +
            "registeredContainerInstancesCount": 0,
 +
            "pendingTasksCount": 0,
 +
            "runningTasksCount": 0,
 +
            "activeServicesCount": 1,
 +
            "clusterArn": "arn:aws:ecs:us-west-2:123456789012:cluster/default"
 +
        }
 +
    ],
 +
    "failures": []
 +
}
 +
 +
[[aws ecs describe-clusters]] --cluster mycluster | jq '.clusters[].default[[CapacityProviderStrategy]]'
  
 +
== Related ==
 +
* <code>[[AWS::ECS::Cluster]]</code>
  
 
== See also ==
 
== See also ==
 +
* {{aws ecs capacity-provider}}
 
* {{aws ecs}}
 
* {{aws ecs}}
 
* {{AWS ECS}}
 
* {{AWS ECS}}
  
 
[[Category:AWS]]
 
[[Category:AWS]]

Latest revision as of 19:26, 20 March 2024

Advertising: