Learn R Programming

paws.database (version 0.1.5)

elasticache_delete_cache_cluster: Deletes a previously provisioned cluster

Description

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.

Usage

elasticache_delete_cache_cluster(CacheClusterId,
  FinalSnapshotIdentifier)

Arguments

CacheClusterId

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

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.

Request syntax

svc$delete_cache_cluster(
  CacheClusterId = "string",
  FinalSnapshotIdentifier = "string"
)

Details

This operation is not valid for:

  • Redis (cluster mode enabled) clusters

  • A cluster that is the last read replica of a replication group

  • A node group (shard) that has Multi-AZ mode enabled

  • A cluster from a Redis (cluster mode enabled) replication group

  • A cluster that is not in the available state