memorydb:Connect

Write

memorydb:Connect is a Write access-level action in the memorydb service. Allows an IAM user or role to connect as a specified MemoryDB user to a node in a cluster

Resource types

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

arn:${Partition}:memorydb:${Region}:${Account}:cluster/${ClusterName}
cluster
arn:${Partition}:memorydb:${Region}:${Account}:user/${UserName}
user

Condition keys

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

aws:ResourceTag/${TagKey} String

Filters actions based on the tags associated with the resource

Example IAM policy

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

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

Related actions in memorydb

View all memorydb actions →