Actions, resources, and condition keys for AWS Backup - Service Authorization Reference

Actions, resources, and condition keys for AWS Backup

AWS Backup (service prefix: backup) provides the following service-specific resources, actions, and condition context keys for use in IAM permission policies.

References:

Actions defined by AWS Backup

You can specify the following actions in the Action element of an IAM policy statement. Use policies to grant permissions to perform an operation in AWS. When you use an action in a policy, you usually allow or deny access to the API operation or CLI command with the same name. However, in some cases, a single action controls access to more than one operation. Alternatively, some operations require several different actions.

The Resource types column indicates whether each action supports resource-level permissions. If there is no value for this column, you must specify all resources ("*") in the Resource element of your policy statement. If the column includes a resource type, then you can specify an ARN of that type in a statement with that action. Required resources are indicated in the table with an asterisk (*). If you specify a resource-level permission ARN in a statement using this action, then it must be of this type. Some actions support multiple resource types. If the resource type is optional (not indicated as required), then you can choose to use one but not the other.

For details about the columns in the following table, see The actions table.

Actions Description Access level Resource types (*required) Condition keys Dependent actions
CopyFromBackupVault [permission only] Grants permission to copy from a backup vault Write

backup:CopyTargets

backup:CopyTargetOrgPaths

CopyIntoBackupVault [permission only] Grants permission to copy into a backup vault Write

aws:RequestTag/${TagKey}

CreateBackupPlan Grants permission to create a new backup plan Write

backupPlan*

aws:RequestTag/${TagKey}

aws:TagKeys

CreateBackupSelection Grants permission to create a new resource assignment in a backup plan Write

backupPlan*

iam:PassRole

CreateBackupVault Grants permission to create a new backup vault Write

backupVault*

aws:RequestTag/${TagKey}

aws:TagKeys

DeleteBackupPlan Grants permission to delete a backup plan Write

backupPlan*

DeleteBackupSelection Grants permission to delete a resource assignment from a backup plan Write

backupPlan*

DeleteBackupVault Grants permission to delete a backup vault Write

backupVault*

DeleteBackupVaultAccessPolicy Grants permission to delete backup vault access policy Write

backupVault*

DeleteBackupVaultNotifications Grants permission to remove notifications from backup vault Write

backupVault*

DeleteRecoveryPoint Grants permission to delete a recovery point from a backup vault Write

recoveryPoint*

DescribeBackupJob Grants permission to describe a backup job Read
DescribeBackupVault Grants permission to describe a new backup vault with the specified name Read

backupVault*

DescribeCopyJob Grants permission to describe a copy job Read

aws:RequestTag/${TagKey}

aws:TagKeys

DescribeGlobalSettings Grants permission to describe global settings Read
DescribeProtectedResource Grants permission to describe a protected resource Read
DescribeRecoveryPoint Grants permission to describe a recovery point Read

recoveryPoint*

DescribeRegionSettings Grants permission to describe region settings Read
DescribeRestoreJob Grants permission to describe a restore job Read
DisassociateRecoveryPoint Grants permission to disassociate a recovery point from a backup vault Write

recoveryPoint*

ExportBackupPlanTemplate Grants permission to export a backup plan as a JSON Read
GetBackupPlan Grants permission to get a backup plan Read

backupPlan*

GetBackupPlanFromJSON Grants permission to transform a JSON to a backup plan Read
GetBackupPlanFromTemplate Grants permission to transform a template to a backup plan Read
GetBackupSelection Grants permission to get a backup plan resource assignment Read

backupPlan*

GetBackupVaultAccessPolicy Grants permission to get backup vault access policy Read

backupVault*

GetBackupVaultNotifications Grants permission to get backup vault notifications Read

backupVault*

GetRecoveryPointRestoreMetadata Grants permission to get recovery point restore metadata Read

recoveryPoint*

GetSupportedResourceTypes Grants permission to get supported resource types Read
ListBackupJobs Grants permission to list backup jobs List
ListBackupPlanTemplates Grants permission to list backup plan templates provided by AWS Backup List
ListBackupPlanVersions Grants permission to list backup plan versions List

backupPlan*

ListBackupPlans Grants permision to list backup plans List
ListBackupSelections Grants permission to list resource assignments for a specific backup plan List

backupPlan*

ListBackupVaults Grants permission to list backup vaults. List
ListCopyJobs Grants permission to list copy jobs List
ListProtectedResources Grants permission to list protected resources by AWS Backup List
ListRecoveryPointsByBackupVault Grants permission to list recovery points inside a backup vault List

backupVault*

ListRecoveryPointsByResource Grants permission to list recovery points for a resource List
ListRestoreJobs Grants permission to lists restore jobs List
ListTags Grants permission to list tags for a resource Read

backupPlan

backupVault

recoveryPoint

PutBackupVaultAccessPolicy Grants permission to add an access policy to the backup vault Write

backupVault*

PutBackupVaultNotifications Grants permission to add an SNS topic to the backup vault Write

backupVault*

StartBackupJob Grants permission to start a new backup job Write

backupVault*

iam:PassRole

StartCopyJob Grants permission to copy a backup from a source backup vault to a destination backup vault Write

recoveryPoint*

iam:PassRole

aws:RequestTag/${TagKey}

aws:TagKeys

StartRestoreJob Grants permission to start a new restore job Write

recoveryPoint*

iam:PassRole

StopBackupJob Grants permission to stop a backup job Write
TagResource Grants permission to tag a resource Tagging

backupPlan

backupVault

recoveryPoint

aws:RequestTag/${TagKey}

aws:TagKeys

UntagResource Grants permission to untag a resource Tagging

backupPlan

backupVault

recoveryPoint

aws:TagKeys

UpdateBackupPlan Grants permission to update a backup plan Write

backupPlan*

UpdateGlobalSettings Grants permission to update the current global settings for the AWS Account Write
UpdateRecoveryPointLifecycle Grants permission to update the lifecycle of the recovery point Write

recoveryPoint*

UpdateRegionSettings Grants permission to update the current service opt-in settings for the Region Write

Resource types defined by AWS Backup

The following resource types are defined by this service and can be used in the Resource element of IAM permission policy statements. Each action in the Actions table identifies the resource types that can be specified with that action. A resource type can also define which condition keys you can include in a policy. These keys are displayed in the last column of the table. For details about the columns in the following table, see The resource types table.

Resource types ARN Condition keys
backupVault arn:${Partition}:backup:${Region}:${Account}:backup-vault:${BackupVaultName}

aws:ResourceTag/${TagKey}

backupPlan arn:${Partition}:backup:${Region}:${Account}:backup-plan:${BackupPlanId}

aws:ResourceTag/${TagKey}

recoveryPoint arn:${Partition}:${Vendor}:${Region}:*:${ResourceType}:${RecoveryPointId}

aws:ResourceTag/${TagKey}

Condition keys for AWS Backup

AWS Backup defines the following condition keys that can be used in the Condition element of an IAM policy. You can use these keys to further refine the conditions under which the policy statement applies. For details about the columns in the following table, see The condition keys table.

To view the global condition keys that are available to all services, see Available global condition keys.

Condition keys Description Type
aws:RequestTag/${TagKey} Filters access by the allowed set of values for each of the tags String
aws:ResourceTag/${TagKey} Filters access by the tags associated with the resource String
aws:TagKeys Filters access by the presence of mandatory tags in the request String
backup:CopyTargetOrgPaths Filters access by the organization unit String
backup:CopyTargets Filters access by the ARN of an backup vault String