HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: //usr/share/doc/awscli/examples/ecs/delete-cluster.rst
**To delete an empty cluster**

The following ``delete-cluster`` example deletes the specified empty cluster. ::

    aws ecs delete-cluster --cluster MyCluster

Output::

    {
        "cluster": {
            "clusterArn": "arn:aws:ecs:us-west-2:123456789012:cluster/MyCluster",
            "status": "INACTIVE",
            "clusterName": "MyCluster",
            "registeredContainerInstancesCount": 0,
            "pendingTasksCount": 0,
            "runningTasksCount": 0,
            "activeServicesCount": 0
            "statistics": [],
            "tags": []
        }
    }

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