neptune-graph:RestoreGraphFromSnapshot

Write

neptune-graph:RestoreGraphFromSnapshot is a Write access-level action in the neptune-graph service. Grants permission to create a new graph from an existing snapshot

Resource types

ARNs that neptune-graph:RestoreGraphFromSnapshot can be scoped to in an IAM policy.

arn:${Partition}:neptune-graph:${Region}:${Account}:graph/${ResourceId} required
graph
arn:${Partition}:neptune-graph:${Region}:${Account}:graph-snapshot/${ResourceId} required
graph-snapshot

Condition keys

Keys you can use in the Condition block of a policy that grants neptune-graph:RestoreGraphFromSnapshot.

aws:RequestTag/${TagKey} String

Filters access by a tag's key and value in a request

aws:ResourceTag/${TagKey} String

Filters access by the presence of tag key-value pairs in the request

aws:TagKeys ArrayOfString

Filters access by the tag keys in a request

neptune-graph:PublicConnectivity Bool

Filters access by the value of the public connectivity parameter provided in the request or its default value, if unspecified. All access to graphs is IAM authenticated

Example IAM policy

A minimal policy that allows neptune-graph:RestoreGraphFromSnapshot. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowNeptunegraphRestoreGraphFromSnapshot",
      "Effect": "Allow",
      "Action": "neptune-graph:RestoreGraphFromSnapshot",
      "Resource": "*"
    }
  ]
}

Related actions in neptune-graph

View all neptune-graph actions →