paws.compute (version 0.1.0)

ecs_delete_cluster: Deletes the specified cluster

Description

Deletes the specified cluster. You must deregister all container instances from this cluster before you may delete it. You can list the container instances in a cluster with ListContainerInstances and deregister them with DeregisterContainerInstance.

Usage

ecs_delete_cluster(cluster)

Arguments

cluster

[required] The short name or full Amazon Resource Name (ARN) of the cluster to delete.

Request syntax

svc$delete_cluster(
  cluster = "string"
)

Examples

Run this code
# NOT RUN {
# This example deletes an empty cluster in your default region.
# }
# NOT RUN {
svc$delete_cluster(
  cluster = "my_cluster"
)
# }
# NOT RUN {
# }

Run the code above in your browser using DataCamp Workspace