Skip to main content
IAM Policy Map

AWSBackupServiceRolePolicyForBackup

OperatorService roleActivePermissions reviewedShow on mapCompare

Summary

Provides AWS Backup permission to create backups on your behalf across AWS services

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

Identity

ARN
arn:aws:iam::aws:policy/service-role/AWSBackupServiceRolePolicyForBackup
Default version
v30
Created
Last edited
Services
backup, backup-gateway, cloudformation, dsql, dynamodb, ec2, eks, elasticfilesystem, fsx, guardduty, iam, kms, rds, redshift, redshift-serverless, ssm, ssm-sap, storagegateway, tag, timestream

Control-plane actions (134)

By access level: 36 List, 3 Permissions management, 37 Read, 6 Tagging, 52 Write.

Control-plane actions by service
ServiceGrantedAccess levels and limitsGranted by
Backup4 of 1221 Read, 1 Tagging, 2 Write; 3 restricted, 1 conditionalbackup:CopyFromBackupVault, backup:CopyIntoBackupVault, backup:DescribeBackupVault, backup:TagResource
Backup Gateway2 of 271 Read, 1 Write; 2 restricted, 0 conditionalbackup-gateway:Backup, backup-gateway:ListTagsForResource
CloudFormation4 of 1043 List, 1 Read; 4 restricted, 0 conditionalcloudformation:DescribeStacks, cloudformation:GetTemplate, cloudformation:ListStackResources, cloudformation:ListStacks
Aurora DSQL6 of 301 List, 3 Read, 2 Write; 0 restricted, 0 conditionaldsql:GetBackupJob, dsql:GetCluster, dsql:ListClusters, dsql:ListTagsForResource, dsql:StartBackupJob, dsql:StopBackupJob
DynamoDB6 of 683 Read, 3 Write; 6 restricted, 0 conditionaldynamodb:CreateBackup, dynamodb:DeleteBackup, dynamodb:DescribeBackup, dynamodb:DescribeTable, dynamodb:ListTagsOfResource, dynamodb:StartAwsBackupJob
EC222 of 83412 List, 1 Permissions management, 1 Tagging, 8 Write; 5 restricted, 3 conditionalec2:CopyImage, ec2:CopySnapshot, ec2:CreateImage, ec2:CreateSnapshot, ec2:CreateTags, ec2:DeleteSnapshot, ec2:DeregisterImage, ec2:DescribeElasticGpus, ec2:DescribeImages, ec2:DescribeInstanceAttribute, ec2:DescribeInstanceCreditSpecifications, ec2:DescribeInstances and 10 more
EKS17 of 747 List, 7 Read, 3 Write; 3 restricted, 2 conditionaleks:AssociateAccessPolicy, eks:CreateAccessEntry, eks:DescribeAccessEntry, eks:DescribeAddon, eks:DescribeCluster, eks:DescribeFargateProfile, eks:DescribeNodegroup, eks:DescribePodIdentityAssociation, eks:DisassociateAccessPolicy, eks:ListAccessEntries, eks:ListAddons, eks:ListAssociatedAccessPolicies and 5 more
EFS2 of 381 Read, 1 Write; 2 restricted, 0 conditionalelasticfilesystem:Backup, elasticfilesystem:DescribeTags
FSx9 of 561 Permissions management, 4 Read, 1 Tagging, 3 Write; 9 restricted, 0 conditionalfsx:CopyBackup, fsx:CreateBackup, fsx:DeleteBackup, fsx:DescribeBackups, fsx:DescribeFileSystems, fsx:DescribeVolumes, fsx:ListTagsForResource, fsx:ManageBackupPrincipalAssociations, fsx:TagResource
GuardDuty2 of 1031 Read, 1 Write; 0 restricted, 0 conditionalguardduty:GetMalwareScan, guardduty:StartMalwareScan
IAM1 of 1901 Write; 1 restricted, 1 conditionaliam:PassRole
KMS7 of 581 Permissions management, 1 Read, 5 Write; 6 restricted, 6 conditionalkms:CreateGrant, kms:Decrypt, kms:DescribeKey, kms:GenerateDataKey, kms:GenerateDataKeyWithoutPlaintext, kms:ReEncryptFrom, kms:ReEncryptTo
RDS19 of 1735 List, 1 Read, 1 Tagging, 12 Write; 8 restricted, 0 conditionalrds:AddTagsToResource, rds:CopyDBClusterSnapshot, rds:CopyDBSnapshot, rds:CreateDBClusterSnapshot, rds:CreateDBSnapshot, rds:DeleteDBClusterAutomatedBackup, rds:DeleteDBClusterSnapshot, rds:DeleteDBInstanceAutomatedBackup, rds:DeleteDBSnapshot, rds:DescribeDBClusterAutomatedBackups, rds:DescribeDBClusterSnapshots, rds:DescribeDBClusters and 7 more
Redshift6 of 1671 List, 2 Read, 1 Tagging, 2 Write; 6 restricted, 0 conditionalredshift:CreateClusterSnapshot, redshift:CreateTags, redshift:DeleteClusterSnapshot, redshift:DescribeClusterSnapshots, redshift:DescribeClusters, redshift:DescribeTags
Redshift Serverless8 of 693 List, 2 Read, 1 Tagging, 2 Write; 5 restricted, 1 conditionalredshift-serverless:CreateSnapshot, redshift-serverless:DeleteSnapshot, redshift-serverless:GetNamespace, redshift-serverless:GetSnapshot, redshift-serverless:ListNamespaces, redshift-serverless:ListSnapshots, redshift-serverless:ListTagsForResource, redshift-serverless:TagResource
Systems Manager3 of 1641 Read, 2 Write; 1 restricted, 0 conditionalssm:CancelCommand, ssm:GetCommandInvocation, ssm:SendCommand
Systems Manager for SAP6 of 301 List, 3 Read, 2 Write; 4 restricted, 0 conditionalssm-sap:BackupDatabase, ssm-sap:GetDatabase, ssm-sap:GetOperation, ssm-sap:ListDatabases, ssm-sap:ListTagsForResource, ssm-sap:UpdateHanaBackupSettings
Storage Gateway2 of 971 List, 1 Write; 2 restricted, 0 conditionalstoragegateway:CreateSnapshot, storagegateway:ListTagsForResource
Resource Group Tagging1 of 91 Read; 0 restricted, 0 conditionaltag:GetResources
Timestream7 of 322 List, 4 Read, 1 Write; 7 restricted, 0 conditionaltimestream:DescribeDatabase, timestream:DescribeTable, timestream:GetAwsBackupStatus, timestream:ListDatabases, timestream:ListTables, timestream:ListTagsForResource, timestream:StartAwsBackupJob
Backup: 4 actions
  • backup:CopyFromBackupVault (Write)
  • backup:CopyIntoBackupVault (Write)
  • backup:DescribeBackupVault (Read)
  • backup:TagResource (Tagging)
Backup Gateway: 2 actions
  • backup-gateway:Backup (Write)
  • backup-gateway:ListTagsForResource (Read)
CloudFormation: 4 actions
  • cloudformation:DescribeStacks (List)
  • cloudformation:GetTemplate (Read)
  • cloudformation:ListStackResources (List)
  • cloudformation:ListStacks (List)
Aurora DSQL: 6 actions
  • dsql:GetBackupJob (Read)
  • dsql:GetCluster (Read)
  • dsql:ListClusters (List)
  • dsql:ListTagsForResource (Read)
  • dsql:StartBackupJob (Write)
  • dsql:StopBackupJob (Write)
DynamoDB: 6 actions
  • dynamodb:CreateBackup (Write)
  • dynamodb:DeleteBackup (Write)
  • dynamodb:DescribeBackup (Read)
  • dynamodb:DescribeTable (Read)
  • dynamodb:ListTagsOfResource (Read)
  • dynamodb:StartAwsBackupJob (Write)
EC2: 22 actions
  • ec2:CopyImage (Write)
  • ec2:CopySnapshot (Write)
  • ec2:CreateImage (Write)
  • ec2:CreateSnapshot (Write)
  • ec2:CreateTags (Tagging)
  • ec2:DeleteSnapshot (Write)
  • ec2:DeregisterImage (Write)
  • ec2:DescribeElasticGpus (List)
  • ec2:DescribeImages (List)
  • ec2:DescribeInstanceAttribute (List)
  • ec2:DescribeInstanceCreditSpecifications (List)
  • ec2:DescribeInstances (List)
  • ec2:DescribeLaunchTemplateVersions (List)
  • ec2:DescribeNetworkInterfaces (List)
  • ec2:DescribeSnapshotTierStatus (List)
  • ec2:DescribeSnapshots (List)
  • ec2:DescribeSpotInstanceRequests (List)
  • ec2:DescribeTags (List)
  • ec2:DescribeVolumes (List)
  • ec2:ModifyImageAttribute (Write)
  • ec2:ModifySnapshotAttribute (Permissions management)
  • ec2:ModifySnapshotTier (Write)
EKS: 17 actions
  • eks:AssociateAccessPolicy (Write)
  • eks:CreateAccessEntry (Write)
  • eks:DescribeAccessEntry (Read)
  • eks:DescribeAddon (Read)
  • eks:DescribeCluster (Read)
  • eks:DescribeFargateProfile (Read)
  • eks:DescribeNodegroup (Read)
  • eks:DescribePodIdentityAssociation (Read)
  • eks:DisassociateAccessPolicy (Write)
  • eks:ListAccessEntries (List)
  • eks:ListAddons (List)
  • eks:ListAssociatedAccessPolicies (List)
  • eks:ListClusters (List)
  • eks:ListFargateProfiles (List)
  • eks:ListNodegroups (List)
  • eks:ListPodIdentityAssociations (List)
  • eks:ListTagsForResource (Read)
EFS: 2 actions
  • elasticfilesystem:Backup (Write)
  • elasticfilesystem:DescribeTags (Read)
FSx: 9 actions
  • fsx:CopyBackup (Write)
  • fsx:CreateBackup (Write)
  • fsx:DeleteBackup (Write)
  • fsx:DescribeBackups (Read)
  • fsx:DescribeFileSystems (Read)
  • fsx:DescribeVolumes (Read)
  • fsx:ListTagsForResource (Read)
  • fsx:ManageBackupPrincipalAssociations (Permissions management)
  • fsx:TagResource (Tagging)
GuardDuty: 2 actions
  • guardduty:GetMalwareScan (Read)
  • guardduty:StartMalwareScan (Write)
IAM: 1 actions
  • iam:PassRole (Write)
KMS: 7 actions
  • kms:CreateGrant (Permissions management)
  • kms:Decrypt (Write)
  • kms:DescribeKey (Read)
  • kms:GenerateDataKey (Write)
  • kms:GenerateDataKeyWithoutPlaintext (Write)
  • kms:ReEncryptFrom (Write)
  • kms:ReEncryptTo (Write)
RDS: 19 actions
  • rds:AddTagsToResource (Tagging)
  • rds:CopyDBClusterSnapshot (Write)
  • rds:CopyDBSnapshot (Write)
  • rds:CreateDBClusterSnapshot (Write)
  • rds:CreateDBSnapshot (Write)
  • rds:DeleteDBClusterAutomatedBackup (Write)
  • rds:DeleteDBClusterSnapshot (Write)
  • rds:DeleteDBInstanceAutomatedBackup (Write)
  • rds:DeleteDBSnapshot (Write)
  • rds:DescribeDBClusterAutomatedBackups (List)
  • rds:DescribeDBClusterSnapshots (List)
  • rds:DescribeDBClusters (List)
  • rds:DescribeDBInstances (List)
  • rds:DescribeDBSnapshots (List)
  • rds:ListTagsForResource (Read)
  • rds:ModifyDBCluster (Write)
  • rds:ModifyDBClusterSnapshotAttribute (Write)
  • rds:ModifyDBInstance (Write)
  • rds:ModifyDBSnapshotAttribute (Write)
Redshift: 6 actions
  • redshift:CreateClusterSnapshot (Write)
  • redshift:CreateTags (Tagging)
  • redshift:DeleteClusterSnapshot (Write)
  • redshift:DescribeClusterSnapshots (Read)
  • redshift:DescribeClusters (List)
  • redshift:DescribeTags (Read)
Redshift Serverless: 8 actions
  • redshift-serverless:CreateSnapshot (Write)
  • redshift-serverless:DeleteSnapshot (Write)
  • redshift-serverless:GetNamespace (Read)
  • redshift-serverless:GetSnapshot (Read)
  • redshift-serverless:ListNamespaces (List)
  • redshift-serverless:ListSnapshots (List)
  • redshift-serverless:ListTagsForResource (List)
  • redshift-serverless:TagResource (Tagging)
Systems Manager: 3 actions
  • ssm:CancelCommand (Write)
  • ssm:GetCommandInvocation (Read)
  • ssm:SendCommand (Write)
Systems Manager for SAP: 6 actions
  • ssm-sap:BackupDatabase (Write)
  • ssm-sap:GetDatabase (Read)
  • ssm-sap:GetOperation (Read)
  • ssm-sap:ListDatabases (List)
  • ssm-sap:ListTagsForResource (Read)
  • ssm-sap:UpdateHANABackupSettings (Write)
Storage Gateway: 2 actions
  • storagegateway:CreateSnapshot (Write)
  • storagegateway:ListTagsForResource (List)
Resource Group Tagging: 1 actions
  • tag:GetResources (Read)
Timestream: 7 actions
  • timestream:DescribeDatabase (Read)
  • timestream:DescribeTable (Read)
  • timestream:GetAwsBackupStatus (Read)
  • timestream:ListDatabases (List)
  • timestream:ListTables (List)
  • timestream:ListTagsForResource (Read)
  • timestream:StartAwsBackupJob (Write)

Data-plane actions (1)

By access level: 1 List.

Data-plane actions by service
ServiceGrantedAccess levels and limitsGranted by
Timestream1 of 51 List; 0 restricted, 0 conditionaltimestream:DescribeEndpoints
Timestream: 1 actions
  • timestream:DescribeEndpoints (List)

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: Yes, to users, groups and roles.

Why this tier

  • Grants 61 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).
  • 3 granted write or permissions-management actions have no data-plane classification from AWS, so the data-plane rule cannot assess them.

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": "DynamoDBPermissions",
      "Effect": "Allow",
      "Action": [
        "dynamodb:DescribeTable",
        "dynamodb:CreateBackup"
      ],
      "Resource": "arn:aws:dynamodb:*:*:table/*"
    },
    {
      "Sid": "DynamoDBBackupResourcePermissions",
      "Effect": "Allow",
      "Action": [
        "dynamodb:DescribeBackup",
        "dynamodb:DeleteBackup"
      ],
      "Resource": "arn:aws:dynamodb:*:*:table/*/backup/*"
    },
    {
      "Sid": "DynamoDBBackupPermissions",
      "Effect": "Allow",
      "Action": [
        "rds:AddTagsToResource",
        "rds:ListTagsForResource",
        "rds:DescribeDBSnapshots",
        "rds:CreateDBSnapshot",
        "rds:CopyDBSnapshot",
        "rds:DescribeDBInstances",
        "rds:CreateDBClusterSnapshot",
        "rds:DescribeDBClusters",
        "rds:DescribeDBClusterSnapshots",
        "rds:CopyDBClusterSnapshot",
        "rds:DescribeDBClusterAutomatedBackups"
      ],
      "Resource": "*"
    },
    {
      "Sid": "RDSInstanceAutomatedBackupPermissions",
      "Effect": "Allow",
      "Action": "rds:DeleteDBInstanceAutomatedBackup",
      "Resource": "arn:aws:rds:*:*:auto-backup:*"
    },
    {
      "Sid": "RDSClusterPermissions",
      "Effect": "Allow",
      "Action": [
        "rds:ModifyDBCluster"
      ],
      "Resource": [
        "arn:aws:rds:*:*:cluster:*"
      ]
    },
    {
      "Sid": "RDSClusterBackupPermissions",
      "Effect": "Allow",
      "Action": "rds:DeleteDBClusterAutomatedBackup",
      "Resource": "arn:aws:rds:*:*:cluster-auto-backup:*"
    },
    {
      "Sid": "RDSModifyPermissions",
      "Effect": "Allow",
      "Action": [
        "rds:ModifyDBInstance"
      ],
      "Resource": [
        "arn:aws:rds:*:*:db:*"
      ]
    },
    {
      "Sid": "RDSBackupPermissions",
      "Effect": "Allow",
      "Action": [
        "rds:DeleteDBSnapshot",
        "rds:ModifyDBSnapshotAttribute"
      ],
      "Resource": [
        "arn:aws:rds:*:*:snapshot:awsbackup:*"
      ]
    },
    {
      "Sid": "RDSClusterModifyPermissions",
      "Effect": "Allow",
      "Action": [
        "rds:DeleteDBClusterSnapshot",
        "rds:ModifyDBClusterSnapshotAttribute"
      ],
      "Resource": [
        "arn:aws:rds:*:*:cluster-snapshot:awsbackup:*"
      ]
    },
    {
      "Sid": "StorageGatewayPermissions",
      "Effect": "Allow",
      "Action": [
        "storagegateway:CreateSnapshot",
        "storagegateway:ListTagsForResource"
      ],
      "Resource": "arn:aws:storagegateway:*:*:gateway/*/volume/*"
    },
    {
      "Sid": "EBSCopyPermissions",
      "Effect": "Allow",
      "Action": [
        "ec2:CopySnapshot"
      ],
      "Resource": "arn:aws:ec2:*::snapshot/*"
    },
    {
      "Sid": "EC2CopyPermissions",
      "Effect": "Allow",
      "Action": [
        "ec2:CopyImage"
      ],
      "Resource": "*"
    },
    {
      "Sid": "EBSTagAndDeletePermissions",
      "Effect": "Allow",
      "Action": [
        "ec2:CreateTags",
        "ec2:DeleteSnapshot"
      ],
      "Resource": "arn:aws:ec2:*::snapshot/*"
    },
    {
      "Sid": "EC2Permissions",
      "Effect": "Allow",
      "Action": [
        "ec2:CreateImage",
        "ec2:DeregisterImage",
        "ec2:DescribeSnapshots",
        "ec2:DescribeTags",
        "ec2:DescribeImages",
        "ec2:DescribeInstances",
        "ec2:DescribeInstanceAttribute",
        "ec2:DescribeInstanceCreditSpecifications",
        "ec2:DescribeNetworkInterfaces",
        "ec2:DescribeElasticGpus",
        "ec2:DescribeSpotInstanceRequests",
        "ec2:DescribeSnapshotTierStatus"
      ],
      "Resource": "*"
    },
    {
      "Sid": "EC2TagPermissions",
      "Effect": "Allow",
      "Action": [
        "ec2:CreateTags"
      ],
      "Resource": "arn:aws:ec2:*:*:image/*"
    },
    {
      "Sid": "EC2ModifyPermissions",
      "Effect": "Allow",
      "Action": [
        "ec2:ModifySnapshotAttribute",
        "ec2:ModifyImageAttribute"
      ],
      "Resource": "*",
      "Condition": {
        "Null": {
          "aws:ResourceTag/aws:backup:source-resource": "false"
        }
      }
    },
    {
      "Sid": "EBSSnapshotTierPermissions",
      "Effect": "Allow",
      "Action": [
        "ec2:ModifySnapshotTier"
      ],
      "Resource": "arn:aws:ec2:*::snapshot/*",
      "Condition": {
        "Null": {
          "aws:ResourceTag/aws:backup:source-resource": "false"
        }
      }
    },
    {
      "Sid": "BackupVaultPermissions",
      "Effect": "Allow",
      "Action": [
        "backup:DescribeBackupVault",
        "backup:CopyIntoBackupVault"
      ],
      "Resource": "arn:aws:backup:*:*:backup-vault:*"
    },
    {
      "Sid": "BackupVaultCopyPermissions",
      "Effect": "Allow",
      "Action": [
        "backup:CopyFromBackupVault"
      ],
      "Resource": "*"
    },
    {
      "Sid": "EFSPermissions",
      "Effect": "Allow",
      "Action": [
        "elasticfilesystem:Backup",
        "elasticfilesystem:DescribeTags"
      ],
      "Resource": "arn:aws:elasticfilesystem:*:*:file-system/*"
    },
    {
      "Sid": "EBSResourcePermissions",
      "Effect": "Allow",
      "Action": [
        "ec2:CreateSnapshot",
        "ec2:DeleteSnapshot",
        "ec2:DescribeVolumes",
        "ec2:DescribeSnapshots"
      ],
      "Resource": "*"
    },
    {
      "Sid": "KMSDynamoDBPermissions",
      "Effect": "Allow",
      "Action": [
        "kms:Decrypt",
        "kms:GenerateDataKey"
      ],
      "Resource": "*",
      "Condition": {
        "StringLike": {
          "kms:ViaService": [
            "dynamodb.*.amazonaws.com"
          ]
        }
      }
    },
    {
      "Sid": "KMSPermissions",
      "Effect": "Allow",
      "Action": "kms:DescribeKey",
      "Resource": "*"
    },
    {
      "Sid": "KMSCreateGrantPermissions",
      "Effect": "Allow",
      "Action": "kms:CreateGrant",
      "Resource": "*",
      "Condition": {
        "Bool": {
          "kms:GrantIsForAWSResource": "true"
        }
      }
    },
    {
      "Sid": "KMSEC2Permissions",
      "Effect": "Allow",
      "Action": [
        "kms:GenerateDataKeyWithoutPlaintext",
        "kms:ReEncryptTo",
        "kms:ReEncryptFrom"
      ],
      "Resource": "arn:aws:kms:*:*:key/*",
      "Condition": {
        "StringLike": {
          "kms:ViaService": [
            "ec2.*.amazonaws.com"
          ]
        },
        "ForAnyValue:StringEquals": {
          "kms:EncryptionContextKeys": "aws:ebs:id"
        }
      }
    },
    {
      "Sid": "GetResourcesPermissions",
      "Effect": "Allow",
      "Action": [
        "tag:GetResources"
      ],
      "Resource": "*"
    },
    {
      "Sid": "SSMPermissions",
      "Effect": "Allow",
      "Action": [
        "ssm:CancelCommand",
        "ssm:GetCommandInvocation"
      ],
      "Resource": "*"
    },
    {
      "Sid": "SSMSendPermissions",
      "Effect": "Allow",
      "Action": "ssm:SendCommand",
      "Resource": [
        "arn:aws:ssm:*:*:document/AWSEC2-CreateVssSnapshot",
        "arn:aws:ec2:*:*:instance/*"
      ]
    },
    {
      "Sid": "FsxBackupPermissions",
      "Effect": "Allow",
      "Action": "fsx:DescribeBackups",
      "Resource": "arn:aws:fsx:*:*:backup/*"
    },
    {
      "Sid": "FsxCreateBackupPermissions",
      "Effect": "Allow",
      "Action": "fsx:CreateBackup",
      "Resource": [
        "arn:aws:fsx:*:*:file-system/*",
        "arn:aws:fsx:*:*:backup/*",
        "arn:aws:fsx:*:*:volume/*"
      ]
    },
    {
      "Sid": "FsxPermissions",
      "Effect": "Allow",
      "Action": "fsx:DescribeFileSystems",
      "Resource": "arn:aws:fsx:*:*:file-system/*"
    },
    {
      "Sid": "FsxVolumePermissions",
      "Effect": "Allow",
      "Action": "fsx:DescribeVolumes",
      "Resource": "arn:aws:fsx:*:*:volume/*"
    },
    {
      "Sid": "FsxListTagsPermissions",
      "Effect": "Allow",
      "Action": "fsx:ListTagsForResource",
      "Resource": [
        "arn:aws:fsx:*:*:file-system/*",
        "arn:aws:fsx:*:*:volume/*"
      ]
    },
    {
      "Sid": "FsxDeletePermissions",
      "Effect": "Allow",
      "Action": "fsx:DeleteBackup",
      "Resource": "arn:aws:fsx:*:*:backup/*"
    },
    {
      "Sid": "FsxResourcePermissions",
      "Effect": "Allow",
      "Action": [
        "fsx:ListTagsForResource",
        "fsx:ManageBackupPrincipalAssociations",
        "fsx:CopyBackup",
        "fsx:TagResource"
      ],
      "Resource": "arn:aws:fsx:*:*:backup/*"
    },
    {
      "Sid": "DynamodbBackupPermissions",
      "Effect": "Allow",
      "Action": [
        "dynamodb:StartAwsBackupJob",
        "dynamodb:ListTagsOfResource"
      ],
      "Resource": "arn:aws:dynamodb:*:*:table/*"
    },
    {
      "Sid": "BackupGatewayBackupPermissions",
      "Effect": "Allow",
      "Action": [
        "backup-gateway:Backup",
        "backup-gateway:ListTagsForResource"
      ],
      "Resource": "arn:aws:backup-gateway:*:*:vm/*"
    },
    {
      "Sid": "CloudformationStackPermissions",
      "Effect": "Allow",
      "Action": [
        "cloudformation:ListStacks",
        "cloudformation:GetTemplate",
        "cloudformation:DescribeStacks",
        "cloudformation:ListStackResources"
      ],
      "Resource": "arn:aws:cloudformation:*:*:stack/*/*"
    },
    {
      "Sid": "RedshiftCreatePermissions",
      "Effect": "Allow",
      "Action": [
        "redshift:CreateClusterSnapshot",
        "redshift:DescribeClusterSnapshots",
        "redshift:DescribeTags"
      ],
      "Resource": [
        "arn:aws:redshift:*:*:snapshot:*/*",
        "arn:aws:redshift:*:*:cluster:*"
      ]
    },
    {
      "Sid": "RedshiftSnapshotPermissions",
      "Effect": "Allow",
      "Action": [
        "redshift:DeleteClusterSnapshot"
      ],
      "Resource": [
        "arn:aws:redshift:*:*:snapshot:*/*"
      ]
    },
    {
      "Sid": "RedshiftPermissions",
      "Effect": "Allow",
      "Action": [
        "redshift:DescribeClusters"
      ],
      "Resource": [
        "arn:aws:redshift:*:*:cluster:*"
      ]
    },
    {
      "Sid": "RedshiftResourcePermissions",
      "Effect": "Allow",
      "Action": [
        "redshift:CreateTags"
      ],
      "Resource": [
        "arn:aws:redshift:*:*:snapshot:*/*"
      ]
    },
    {
      "Sid": "RedshiftServerlessCreatePermissions",
      "Effect": "Allow",
      "Action": [
        "redshift-serverless:CreateSnapshot"
      ],
      "Resource": [
        "arn:aws:redshift-serverless:*:*:snapshot/*",
        "arn:aws:redshift-serverless:*:*:namespace/*"
      ]
    },
    {
      "Sid": "RedshiftServerlessSnapshotPermissions",
      "Effect": "Allow",
      "Action": [
        "redshift-serverless:DeleteSnapshot"
      ],
      "Resource": [
        "arn:aws:redshift-serverless:*:*:snapshot/*"
      ],
      "Condition": {
        "Null": {
          "aws:ResourceTag/aws:backup:source-resource": "false"
        }
      }
    },
    {
      "Sid": "RedshiftServerlessGetPermissions",
      "Effect": "Allow",
      "Action": [
        "redshift-serverless:GetNamespace"
      ],
      "Resource": [
        "arn:aws:redshift-serverless:*:*:namespace/*"
      ]
    },
    {
      "Sid": "RedshiftServerlessResourcePermissions",
      "Effect": "Allow",
      "Action": [
        "redshift-serverless:GetSnapshot",
        "redshift-serverless:TagResource"
      ],
      "Resource": [
        "arn:aws:redshift-serverless:*:*:snapshot/*"
      ]
    },
    {
      "Sid": "RedshiftServerlessListPermissions",
      "Effect": "Allow",
      "Action": [
        "redshift-serverless:ListNamespaces",
        "redshift-serverless:ListSnapshots",
        "redshift-serverless:ListTagsForResource"
      ],
      "Resource": [
        "*"
      ]
    },
    {
      "Sid": "TimestreamResourcePermissions",
      "Effect": "Allow",
      "Action": [
        "timestream:StartAwsBackupJob",
        "timestream:GetAwsBackupStatus",
        "timestream:ListTables",
        "timestream:ListDatabases",
        "timestream:ListTagsForResource",
        "timestream:DescribeTable",
        "timestream:DescribeDatabase"
      ],
      "Resource": [
        "arn:aws:timestream:*:*:database/*"
      ]
    },
    {
      "Sid": "TimestreamEndpointPermissions",
      "Effect": "Allow",
      "Action": [
        "timestream:DescribeEndpoints"
      ],
      "Resource": "*"
    },
    {
      "Sid": "SSMSAPPermissions",
      "Effect": "Allow",
      "Action": [
        "ssm-sap:GetOperation",
        "ssm-sap:ListDatabases"
      ],
      "Resource": "*"
    },
    {
      "Sid": "SSMSAPResourcePermissions",
      "Effect": "Allow",
      "Action": [
        "ssm-sap:BackupDatabase",
        "ssm-sap:UpdateHanaBackupSettings",
        "ssm-sap:GetDatabase",
        "ssm-sap:ListTagsForResource"
      ],
      "Resource": "arn:aws:ssm-sap:*:*:*"
    },
    {
      "Sid": "RecoveryPointTaggingPermissions",
      "Effect": "Allow",
      "Action": [
        "backup:TagResource"
      ],
      "Resource": "arn:aws:backup:*:*:recovery-point:*",
      "Condition": {
        "StringEquals": {
          "aws:PrincipalAccount": "${aws:ResourceAccount}"
        }
      }
    },
    {
      "Sid": "DSQLResourcePermissionsForBackup",
      "Effect": "Allow",
      "Action": [
        "dsql:StartBackupJob",
        "dsql:GetBackupJob",
        "dsql:StopBackupJob",
        "dsql:GetCluster",
        "dsql:ListClusters",
        "dsql:ListTagsForResource"
      ],
      "Resource": [
        "*"
      ]
    },
    {
      "Sid": "KMSDSQLPermissions",
      "Effect": "Allow",
      "Action": [
        "kms:Decrypt"
      ],
      "Resource": "*",
      "Condition": {
        "StringLike": {
          "kms:ViaService": [
            "dsql.*.amazonaws.com"
          ]
        },
        "ForAnyValue:StringEquals": {
          "kms:EncryptionContextKeys": "aws:dsql:ClusterId"
        }
      }
    },
    {
      "Sid": "EKSClusterConfigurationBackup",
      "Effect": "Allow",
      "Action": [
        "eks:ListClusters",
        "eks:ListTagsForResource",
        "eks:DescribeCluster",
        "eks:ListAddons",
        "eks:DescribeAddon",
        "eks:ListNodegroups",
        "eks:DescribeNodegroup",
        "eks:ListPodIdentityAssociations",
        "eks:DescribePodIdentityAssociation",
        "eks:ListAccessEntries",
        "eks:DescribeAccessEntry",
        "eks:ListAssociatedAccessPolicies",
        "eks:ListFargateProfiles",
        "eks:DescribeFargateProfile",
        "ec2:DescribeLaunchTemplateVersions"
      ],
      "Resource": "*"
    },
    {
      "Sid": "CreateBackupAccessEntry",
      "Effect": "Allow",
      "Action": [
        "eks:CreateAccessEntry"
      ],
      "Resource": "arn:aws:eks:*:*:cluster/*"
    },
    {
      "Sid": "AssociateBackupAccessPolicy",
      "Effect": "Allow",
      "Action": [
        "eks:AssociateAccessPolicy",
        "eks:DisassociateAccessPolicy"
      ],
      "Resource": "arn:aws:eks:*:*:access-entry/*",
      "Condition": {
        "StringEquals": {
          "eks:policyArn": "arn:aws:eks::aws:cluster-access-policy/AWSBackupFullAccessPolicyForBackup",
          "eks:accessScope": "cluster"
        }
      }
    },
    {
      "Sid": "GuardDutyMalwareScanPermissions",
      "Effect": "Allow",
      "Action": [
        "guardduty:StartMalwareScan",
        "guardduty:GetMalwareScan"
      ],
      "Resource": "*"
    },
    {
      "Sid": "GuardDutyMalwareScanIAMPassPermissions",
      "Effect": "Allow",
      "Action": "iam:PassRole",
      "Resource": "arn:aws:iam::*:role/*",
      "Condition": {
        "StringEquals": {
          "iam:PassedToService": "malware-protection.guardduty.amazonaws.com"
        }
      }
    }
  ]
}

Version history

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

Attach snippets

AWS CLI

aws iam attach-role-policy --role-name ROLE_NAME --policy-arn arn:aws:iam::aws:policy/service-role/AWSBackupServiceRolePolicyForBackup
aws iam attach-user-policy --user-name USER_NAME --policy-arn arn:aws:iam::aws:policy/service-role/AWSBackupServiceRolePolicyForBackup
aws iam attach-group-policy --group-name GROUP_NAME --policy-arn arn:aws:iam::aws:policy/service-role/AWSBackupServiceRolePolicyForBackup

CloudFormation

Resources:
  ExampleRole:
    Type: AWS::IAM::Role
    Properties:
      AssumeRolePolicyDocument: {}  # replace with your trust policy
      ManagedPolicyArns:
        - arn:aws:iam::aws:policy/service-role/AWSBackupServiceRolePolicyForBackup

Terraform

resource "aws_iam_role_policy_attachment" "service_role_awsbackupservicerolepolicyforbackup" {
  role       = aws_iam_role.example.name
  policy_arn = "arn:aws:iam::aws:policy/service-role/AWSBackupServiceRolePolicyForBackup"
}

CDK (TypeScript)

role.addManagedPolicy(
  iam.ManagedPolicy.fromAwsManagedPolicyName("service-role/AWSBackupServiceRolePolicyForBackup"),
);

Sources

Pending editorial review. No editorial sources are listed yet.