destroy_cluster()
Destroy a cluster.
destroy_cluster(name=nothing, ...)
Description
This function destroys the cluster with the given name. Terminates all cluster nodes and running sessions but saves the cluster configuration and persists the associated S3 bucket and contents.
The cluster can be recreated using create_cluster
and specifying only the cluster name.
You can alternatively use delete_cluster()
, which will additionally delete
the S3 bucket and all its contents and remove the saved configuration.
Required Parameters
name
(String
)
Name of cluster to delete
Example Usage
destroy_cluster("mycluster")