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} required
acl
arn:${Partition}:memorydb::${Account}:multiregioncluster/${ClusterName}
multiregioncluster
arn:${Partition}:memorydb:${Region}:${Account}:parametergroup/${ParameterGroupName} required
parametergroup
arn:${Partition}:memorydb:${Region}:${Account}:snapshot/${SnapshotName}
snapshot
arn:${Partition}:memorydb:${Region}:${Account}:subnetgroup/${SubnetGroupName} required
subnetgroup

Condition keys

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

aws:RequestTag/${TagKey} String

Filters actions based on the tags that are passed in the request

aws:ResourceTag/${TagKey} String

Filters actions based on the tags associated with the resource

aws:TagKeys ArrayOfString

Filters actions based on the tag keys that are passed in the request

memorydb:TLSEnabled Bool

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

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 →