memorydb:DeleteCluster

Write

memorydb:DeleteCluster is a Write access-level action in the memorydb service. Grants permissions to delete a previously provisioned cluster

Resource types

ARNs that memorydb:DeleteCluster can be scoped to in an IAM policy.

arn:${Partition}:memorydb:${Region}:${Account}:cluster/${ClusterName}
cluster
arn:${Partition}:memorydb::${Account}:multiregioncluster/${ClusterName}
multiregioncluster
arn:${Partition}:memorydb:${Region}:${Account}:snapshot/${SnapshotName}
snapshot

Condition keys

Keys you can use in the Condition block of a policy that grants memorydb:DeleteCluster.

aws:ResourceTag/${TagKey} String

Filters actions based on the tags associated with the resource

memorydb:TLSEnabled Bool

Filters access by the TLSEnabled parameter present in the request or defaults to true value if parameter is not present

Dependent actions

To use memorydb:DeleteCluster you may also need to grant:

Example IAM policy

A minimal policy that allows memorydb:DeleteCluster. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowMemorydbDeleteCluster",
      "Effect": "Allow",
      "Action": "memorydb:DeleteCluster",
      "Resource": "*"
    }
  ]
}

Related actions in memorydb

View all memorydb actions →