v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-14130363656.8 KB

Deleting a Global datastore is a two-step process:

  • First, you must DisassociateGlobalReplicationGroup to remove the secondary clusters in the Global datastore.

  • Once the Global datastore contains only the primary cluster, you can use the DeleteGlobalReplicationGroup API to delete the Global datastore while retainining the primary cluster using RetainPrimaryReplicationGroup=true.

Since the Global Datastore has only a primary cluster, you can delete the Global Datastore while retaining the primary by setting RetainPrimaryReplicationGroup=true. The primary cluster is never deleted when deleting a Global Datastore. It can only be deleted when it no longer is associated with any Global Datastore.

When you receive a successful response from this operation, Amazon ElastiCache immediately begins deleting the selected resources; you cannot cancel or revert this operation.

get/#Action=DeleteGlobalReplicationGroup

Query parameters

GlobalReplicationGroupIdstring required

The name of the Global datastore

RetainPrimaryReplicationGroupboolean required

The primary replication group is retained as a standalone replication group.

Action'DeleteGlobalReplicationGroup' required
Version'2015-02-02' required

Response

Success