modifyCacheCluster
inline suspend fun ElastiCacheClient.modifyCacheCluster(crossinline block: ModifyCacheClusterRequest.Builder.() -> Unit): ModifyCacheClusterResponse
Modifies the settings for a cluster. You can use this operation to change one or more cluster configuration parameters by specifying the parameters and the new values.
Samples
fun main() {
//sampleStart
// Copies a snapshot to a specified name.
val resp = elastiCacheClient.modifyCacheCluster {
cacheClusterId = "redis-cluster"
applyImmediately = true
snapshotRetentionLimit = 14
}
//sampleEnd
}