Skip to main content
IAM Policy Map

AWSBackupGatewayServiceRolePolicyForVirtualMachineMetadataSync

OperatorService roleActivePermissions reviewedShow on mapCompare

Summary

Provides AWS BackupGateway permission to sync the metadata of Virtual Machines on your behalf

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

Identity

ARN
arn:aws:iam::aws:policy/service-role/AWSBackupGatewayServiceRolePolicyForVirtualMachineMetadataSync
Default version
v1
Created
Last edited
Services
backup-gateway

Control-plane actions (3)

By access level: 1 Read, 2 Tagging.

Control-plane actions by service
ServiceGrantedAccess levels and limitsGranted by
Backup Gateway3 of 271 Read, 2 Tagging; 3 restricted, 0 conditionalbackup-gateway:ListTagsForResource, backup-gateway:TagResource, backup-gateway:UntagResource
Backup Gateway: 3 actions
  • backup-gateway:ListTagsForResource (Read)
  • backup-gateway:TagResource (Tagging)
  • backup-gateway:UntagResource (Tagging)

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: scoped.

Can be attached: Yes, to users, groups and roles.

Why this tier

  • Grants 2 write, tagging or permissions-management actions, short of full control of any service.

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": "ListVmTags",
      "Effect": "Allow",
      "Action": [
        "backup-gateway:ListTagsForResource"
      ],
      "Resource": "arn:aws:backup-gateway:*:*:vm/*"
    },
    {
      "Sid": "VMTagPermissions",
      "Effect": "Allow",
      "Action": [
        "backup-gateway:TagResource",
        "backup-gateway:UntagResource"
      ],
      "Resource": "arn:aws:backup-gateway:*:*:vm/*"
    }
  ]
}

Version history

Current version v1, edited by AWS on 2022-12-15. 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/AWSBackupGatewayServiceRolePolicyForVirtualMachineMetadataSync
aws iam attach-user-policy --user-name USER_NAME --policy-arn arn:aws:iam::aws:policy/service-role/AWSBackupGatewayServiceRolePolicyForVirtualMachineMetadataSync
aws iam attach-group-policy --group-name GROUP_NAME --policy-arn arn:aws:iam::aws:policy/service-role/AWSBackupGatewayServiceRolePolicyForVirtualMachineMetadataSync

CloudFormation

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

Terraform

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

CDK (TypeScript)

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

Sources

Pending editorial review. No editorial sources are listed yet.