Skip to main content
IAM Policy Map

AWSServiceRolePolicyForBackupRestoreTesting

OperatorService-linked roleActivePermissions reviewedShow on mapCompare

Summary

This policy contains permissions for testing restores and for cleaning up resources created during tests.

Permissions imported from the AWS Managed Policy Reference Guide; other sections pending editorial review.

Identity

ARN
arn:aws:iam::aws:policy/aws-service-role/AWSServiceRolePolicyForBackupRestoreTesting
Default version
v4
Created
Last edited
Services
backup, dynamodb, ec2, elasticfilesystem, fsx, iam, rds, redshift, s3, timestream

Control-plane actions (44)

By access level: 15 List, 13 Read, 16 Write.

Control-plane actions by service
ServiceGrantedAccess levels and limitsGranted by
Backup11 of 1225 List, 5 Read, 1 Write; 0 restricted, 0 conditionalbackup:DescribeProtectedResource, backup:DescribeRecoveryPoint, backup:DescribeRestoreJob, backup:GetRecoveryPointRestoreMetadata, backup:ListBackupVaults, backup:ListProtectedResources, backup:ListProtectedResourcesByBackupVault, backup:ListRecoveryPointsByBackupVault, backup:ListRecoveryPointsByResource, backup:ListTags, backup:StartRestoreJob
DynamoDB2 of 681 Read, 1 Write; 2 restricted, 2 conditionaldynamodb:DeleteTable, dynamodb:DescribeTable
EC26 of 8344 List, 2 Write; 2 restricted, 2 conditionalec2:DeleteVolume, ec2:DescribeInstances, ec2:DescribeSnapshotTierStatus, ec2:DescribeTags, ec2:DescribeVolumes, ec2:TerminateInstances
EFS4 of 381 List, 1 Read, 2 Write; 2 restricted, 2 conditionalelasticfilesystem:DeleteFilesystem, elasticfilesystem:DeleteMountTarget, elasticfilesystem:DescribeFileSystems, elasticfilesystem:DescribeMountTargets
FSx5 of 563 Read, 2 Write; 2 restricted, 2 conditionalfsx:DeleteFileSystem, fsx:DeleteVolume, fsx:DescribeFileSystems, fsx:DescribeVolumes, fsx:ListTagsForResource
IAM1 of 1901 Write; 1 restricted, 1 conditionaliam:PassRole
RDS8 of 1734 List, 1 Read, 3 Write; 3 restricted, 3 conditionalrds:DeleteDBCluster, rds:DeleteDBInstance, rds:DeleteTenantDatabase, rds:DescribeDBClusterAutomatedBackups, rds:DescribeDBClusters, rds:DescribeDBInstanceAutomatedBackups, rds:DescribeDBInstances, rds:ListTagsForResource
Redshift3 of 1671 List, 1 Read, 1 Write; 1 restricted, 0 conditionalredshift:DeleteCluster, redshift:DescribeClusters, redshift:DescribeTags
S33 of 1551 Read, 2 Write; 3 restricted, 3 conditionals3:DeleteBucket, s3:GetLifecycleConfiguration, s3:PutLifecycleConfiguration
Timestream1 of 321 Write; 1 restricted, 0 conditionaltimestream:DeleteTable
Backup: 11 actions
  • backup:DescribeProtectedResource (Read)
  • backup:DescribeRecoveryPoint (Read)
  • backup:DescribeRestoreJob (Read)
  • backup:GetRecoveryPointRestoreMetadata (Read)
  • backup:ListBackupVaults (List)
  • backup:ListProtectedResources (List)
  • backup:ListProtectedResourcesByBackupVault (List)
  • backup:ListRecoveryPointsByBackupVault (List)
  • backup:ListRecoveryPointsByResource (List)
  • backup:ListTags (Read)
  • backup:StartRestoreJob (Write)
DynamoDB: 2 actions
  • dynamodb:DeleteTable (Write)
  • dynamodb:DescribeTable (Read)
EC2: 6 actions
  • ec2:DeleteVolume (Write)
  • ec2:DescribeInstances (List)
  • ec2:DescribeSnapshotTierStatus (List)
  • ec2:DescribeTags (List)
  • ec2:DescribeVolumes (List)
  • ec2:TerminateInstances (Write)
EFS: 4 actions
  • elasticfilesystem:DeleteFileSystem (Write)
  • elasticfilesystem:DeleteMountTarget (Write)
  • elasticfilesystem:DescribeFileSystems (List)
  • elasticfilesystem:DescribeMountTargets (Read)
FSx: 5 actions
  • fsx:DeleteFileSystem (Write)
  • fsx:DeleteVolume (Write)
  • fsx:DescribeFileSystems (Read)
  • fsx:DescribeVolumes (Read)
  • fsx:ListTagsForResource (Read)
IAM: 1 actions
  • iam:PassRole (Write)
RDS: 8 actions
  • rds:DeleteDBCluster (Write)
  • rds:DeleteDBInstance (Write)
  • rds:DeleteTenantDatabase (Write)
  • rds:DescribeDBClusterAutomatedBackups (List)
  • rds:DescribeDBClusters (List)
  • rds:DescribeDBInstanceAutomatedBackups (List)
  • rds:DescribeDBInstances (List)
  • rds:ListTagsForResource (Read)
Redshift: 3 actions
  • redshift:DeleteCluster (Write)
  • redshift:DescribeClusters (List)
  • redshift:DescribeTags (Read)
S3: 3 actions
  • s3:DeleteBucket (Write)
  • s3:GetLifecycleConfiguration (Read)
  • s3:PutLifecycleConfiguration (Write)
Timestream: 1 actions
  • timestream:DeleteTable (Write)

Data-plane actions (0)

By access level: none.

This policy grants no actions in this plane.

Excluded and conditional actions

No patterns are excluded by NotAction or Deny statements.

Resource scope and attachment

Resource scope across granted actions: mixed.

Can be attached: No (service-linked role policy).

Why this tier

  • Grants 16 write, tagging or permissions-management actions, short of full control of any service.
  • Grants iam:PassRole, but only for scoped roles or under conditions (for example iam:PassedToService).

Guidance

Pending editorial review. The permission data on this page comes straight from AWS; this section will be filled in once a reviewed guide exists.

Same service

Same domain

Frequently asked questions

Pending editorial review. The permission data on this page comes straight from AWS; this section will be filled in once a reviewed guide exists.

Policy JSON

Download policy.json

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "BackupActions",
      "Effect": "Allow",
      "Action": [
        "backup:DescribeRecoveryPoint",
        "backup:DescribeRestoreJob",
        "backup:DescribeProtectedResource",
        "backup:GetRecoveryPointRestoreMetadata",
        "backup:ListBackupVaults",
        "backup:ListProtectedResources",
        "backup:ListProtectedResourcesByBackupVault",
        "backup:ListRecoveryPointsByBackupVault",
        "backup:ListRecoveryPointsByResource",
        "backup:ListTags",
        "backup:StartRestoreJob"
      ],
      "Resource": "*"
    },
    {
      "Sid": "IamPassRole",
      "Effect": "Allow",
      "Action": "iam:PassRole",
      "Resource": "*",
      "Condition": {
        "StringEquals": {
          "iam:PassedToService": "backup.amazonaws.com"
        }
      }
    },
    {
      "Sid": "DescribeActions",
      "Effect": "Allow",
      "Action": [
        "ec2:DescribeInstances",
        "ec2:DescribeSnapshotTierStatus",
        "ec2:DescribeTags",
        "ec2:DescribeVolumes",
        "elasticfilesystem:DescribeFileSystems",
        "elasticfilesystem:DescribeMountTargets",
        "fsx:DescribeFileSystems",
        "fsx:DescribeVolumes",
        "fsx:ListTagsForResource",
        "rds:DescribeDBInstances",
        "rds:DescribeDBClusters",
        "rds:DescribeDBInstanceAutomatedBackups",
        "rds:DescribeDBClusterAutomatedBackups",
        "rds:ListTagsForResource",
        "redshift:DescribeClusters",
        "redshift:DescribeTags"
      ],
      "Resource": "*"
    },
    {
      "Sid": "DeleteActions",
      "Effect": "Allow",
      "Action": [
        "ec2:DeleteVolume",
        "ec2:TerminateInstances",
        "elasticfilesystem:DeleteFilesystem",
        "elasticfilesystem:DeleteMountTarget",
        "rds:DeleteDBCluster",
        "rds:DeleteDBInstance",
        "rds:DeleteTenantDatabase",
        "fsx:DeleteFileSystem",
        "fsx:DeleteVolume"
      ],
      "Resource": "*",
      "Condition": {
        "Null": {
          "aws:ResourceTag/awsbackup-restore-test": "false"
        }
      }
    },
    {
      "Sid": "DdbDeleteActions",
      "Effect": "Allow",
      "Action": [
        "dynamodb:DeleteTable",
        "dynamodb:DescribeTable"
      ],
      "Resource": "arn:aws:dynamodb:*:*:table/awsbackup-restore-test-*",
      "Condition": {
        "StringEquals": {
          "aws:ResourceAccount": "${aws:PrincipalAccount}"
        }
      }
    },
    {
      "Sid": "RedshiftDeleteActions",
      "Effect": "Allow",
      "Action": "redshift:DeleteCluster",
      "Resource": "arn:aws:redshift:*:*:cluster:awsbackup-restore-test-*"
    },
    {
      "Sid": "S3DeleteActions",
      "Effect": "Allow",
      "Action": [
        "s3:DeleteBucket",
        "s3:GetLifecycleConfiguration",
        "s3:PutLifecycleConfiguration"
      ],
      "Resource": "arn:aws:s3:::awsbackup-restore-test-*",
      "Condition": {
        "StringEquals": {
          "aws:ResourceAccount": "${aws:PrincipalAccount}"
        }
      }
    },
    {
      "Sid": "TimestreamDeleteActions",
      "Effect": "Allow",
      "Action": "timestream:DeleteTable",
      "Resource": "arn:aws:timestream:*:*:database/*/table/awsbackup-restore-test-*"
    }
  ]
}

Version history

Current version v4, edited by AWS on 2026-09-25. Version history is recorded from 2026-11-11. Earlier versions are in the IAM console under Policy versions.

Attach snippets

This policy cannot be attached to users, groups or roles, so there are no attach snippets.

Sources

Pending editorial review. No editorial sources are listed yet.