memorydb:CreateCluster

Write

memorydb:CreateCluster is a Write access-level action in the memorydb service. Grants permissions to create a cluster

Resource types

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

arn:${Partition}:memorydb:${Region}:${Account}:acl/${AclName}
acl
arn:${Partition}:memorydb:${Region}:${Account}:parametergroup/${ParameterGroupName}
parametergroup
arn:${Partition}:memorydb:${Region}:${Account}:subnetgroup/${SubnetGroupName}
subnetgroup
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:CreateCluster.

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:CreateCluster you may also need to grant:

Example IAM policy

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

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

Related actions in memorydb

View all memorydb actions →