memorydb:CreateSubnetGroup

Write

memorydb:CreateSubnetGroup is a Write access-level action in the memorydb service. Grants permissions to create a new subnet group

Resource types

This action does not support resource-level permissions; use "Resource": "*" in your policy.

Condition keys

No condition keys are documented for this action.

Dependent actions

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

Example IAM policy

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

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

Related actions in memorydb

View all memorydb actions →