AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Container for the parameters to the DeleteCacheCluster operation. Deletes a previously provisioned cluster. DeleteCacheCluster deletes all associated cache nodes, node endpoints and the cluster itself. When you receive a successful response from this operation, Amazon ElastiCache immediately begins deleting the cluster; you cannot cancel or revert this operation.

This operation cannot be used to delete a cluster that is the last read replica of a replication group or node group (shard) that has Multi-AZ mode enabled or a cluster from a Redis (cluster mode enabled) replication group.

Due to current limitations on Redis (cluster mode disabled), this operation or parameter is not supported on Redis (cluster mode enabled) replication groups.

Inheritance Hierarchy


Namespace: Amazon.ElastiCache.Model
Assembly: AWSSDK.ElastiCache.dll
Version: 3.x.y.z


public class DeleteCacheClusterRequest : AmazonElastiCacheRequest

The DeleteCacheClusterRequest type exposes the following members


Public Method DeleteCacheClusterRequest()

Empty constructor used to set properties independently even when a simple constructor is available

Public Method DeleteCacheClusterRequest(string)

Instantiates DeleteCacheClusterRequest with the parameterized properties


Public Property CacheClusterId System.String

Gets and sets the property CacheClusterId.

The cluster identifier for the cluster to be deleted. This parameter is not case sensitive.

Public Property FinalSnapshotIdentifier System.String

Gets and sets the property FinalSnapshotIdentifier.

The user-supplied name of a final cluster snapshot. This is the unique name that identifies the snapshot. ElastiCache creates the snapshot, and then deletes the cluster immediately afterward.


Deletes an Amazon ElastiCache cluster.


var response = client.DeleteCacheCluster(new DeleteCacheClusterRequest 
    CacheClusterId = "my-memcached"

CacheCluster cacheCluster = response.CacheCluster;


Version Information

.NET Standard:
Supported in: 1.3

.NET Framework:
Supported in: 4.5, 4.0, 3.5

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms