aws dax delete-cluster
Deletes a previously provisioned DAX cluster. AWS CLI reference
1 example 1 option Its page in the AWS CLI reference
Examples
To delete a DAX cluster
The following delete-cluster example deletes the specified DAX cluster.
aws dax delete-cluster --cluster-name daxclusterIdentify--cluster-nameThe name of the cluster to be deleted.Its output, shortened
{
"Cluster": {
"ClusterName": "daxcluster",
"ClusterArn": "arn:aws:dax:us-west-2:123456789012:cache/daxcluster",
"TotalNodes": 3,
"ActiveNodes": 0,
"NodeType": "dax.r4.large",
"Status": "deleting",
"ClusterDiscoveryEndpoint": {
"Address": "dd.ey3o9d.clustercfg.dax.usw2.cache.amazonaws.com",
"Port": 8111
},
"PreferredMaintenanceWindow": "fri:06:00-fri:07:00",
"SubnetGroup": "default",
"SecurityGroups": [
{
"SecurityGroupIdentifier": "sg-1af6e36e",
"Status": "active"
}
],
"IamRoleArn": "arn:aws:iam::123456789012:role/DAXServiceRoleForDynamoDBAccess",
"ParameterGroup": {
"ParameterGroupName": "default.dax1.0",
"ParameterApplyStatus": "in-sync",
"NodeIdsToReboot": []
},
"SSEDescription": {
"Status": "ENABLED"
}
}
… 1 more lineFor more information, see Managing DAX Clusters in the Amazon DynamoDB Developer Guide.
Options
--cluster-nameThe name of the cluster to be deleted.