rds:RestoreDBClusterFromSnapshot

Write

rds:RestoreDBClusterFromSnapshot is a Write access-level action in the rds service. Grants permission to create a new DB cluster from a DB cluster snapshot

Resource types

ARNs that rds:RestoreDBClusterFromSnapshot can be scoped to in an IAM policy.

arn:${Partition}:rds:${Region}:${Account}:cluster:${DbClusterInstanceName}
cluster
arn:${Partition}:rds:${Region}:${Account}:cluster-pg:${ClusterParameterGroupName}
cluster-pg
arn:${Partition}:rds:${Region}:${Account}:og:${OptionGroupName}
og
arn:${Partition}:rds:${Region}:${Account}:subgrp:${SubnetGroupName}
subgrp
arn:${Partition}:rds:${Region}:${Account}:cluster-snapshot:${ClusterSnapshotName}
cluster-snapshot
arn:${Partition}:rds:${Region}:${Account}:snapshot:${SnapshotName}
snapshot

Condition keys

Keys you can use in the Condition block of a policy that grants rds:RestoreDBClusterFromSnapshot.

aws:ResourceTag/${TagKey} String

Filters access by the set of tag key-value pairs attached to the resource

rds:cluster-pg-tag/${TagKey} String

Filters access by the tag attached to a DB cluster parameter group

rds:cluster-snapshot-tag/${TagKey} String

Filters access by the tag attached to a DB cluster snapshot

rds:cluster-tag/${TagKey} String

Filters access by the tag attached to a DB cluster

rds:og-tag/${TagKey} String

Filters access by the tag attached to a DB option group

rds:snapshot-tag/${TagKey} String

Filters access by the tag attached to a DB snapshot

rds:subgrp-tag/${TagKey} String

Filters access by the tag attached to a DB subnet group

Dependent actions

To use rds:RestoreDBClusterFromSnapshot you may also need to grant:

Example IAM policy

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

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowRdsRestoreDBClusterFromSnapshot",
      "Effect": "Allow",
      "Action": "rds:RestoreDBClusterFromSnapshot",
      "Resource": "*"
    }
  ]
}

Related actions in rds

View all rds actions →