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.

Reboots some, or all, of the cache nodes within a provisioned cache cluster. This operation applies any modified cache parameter groups to the cache cluster. The reboot operation takes place as soon as possible, and results in a momentary outage to the cache cluster. During the reboot, the cache cluster status is set to REBOOTING.

The reboot causes the contents of the cache (for each cache node being rebooted) to be lost.

When the reboot is complete, a cache cluster event is created.


For PCL this operation is only available in asynchronous form. Please refer to RebootCacheClusterAsync.

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


public virtual RebootCacheClusterResponse RebootCacheCluster(
         RebootCacheClusterRequest request
Type: Amazon.ElastiCache.Model.RebootCacheClusterRequest

Container for the necessary parameters to execute the RebootCacheCluster service method.

Return Value
The response from the RebootCacheCluster service method, as returned by ElastiCache.


CacheClusterNotFoundException The requested cache cluster ID does not refer to an existing cache cluster.
InvalidCacheClusterStateException The requested cache cluster is not in the available state.


Reboots the specified nodes in the names cluster.


var response = client.RebootCacheCluster(new RebootCacheClusterRequest 
    CacheClusterId = "custom-mem1-4  ",
    CacheNodeIdsToReboot = new List {

CacheCluster cacheCluster = response.CacheCluster;


Version Information

.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

See Also