Skip to main content
IAM Policy Map

AWSElasticDisasterRecoveryAgentPolicy

OperatorService roleActivePermissions reviewedShow on mapCompare

Summary

This policy allows using the AWS Replication Agent, which is used with AWS Elastic Disaster Recovery (DRS) to recover source servers to AWS. We do not recommend that you attach this policy to your IAM users or roles.

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

Identity

ARN
arn:aws:iam::aws:policy/service-role/AWSElasticDisasterRecoveryAgentPolicy
Default version
v3
Created
Last edited
Services
drs

Control-plane actions (12)

By access level: 5 Read, 7 Write.

Control-plane actions by service
ServiceGrantedAccess levels and limitsGranted by
DRS12 of 1105 Read, 7 Write; 11 restricted, 0 conditionaldrs:GetAgentCommandForDrs, drs:GetAgentConfirmedResumeInfoForDrs, drs:GetAgentInstallationAssetsForDrs, drs:GetAgentReplicationInfoForDrs, drs:GetAgentRuntimeConfigurationForDrs, drs:IssueAgentCertificateForDrs, drs:SendAgentLogsForDrs, drs:SendAgentMetricsForDrs, drs:UpdateAgentBacklogForDrs, drs:UpdateAgentConversionInfoForDrs, drs:UpdateAgentReplicationInfoForDrs, drs:UpdateAgentSourcePropertiesForDrs
DRS: 12 actions
  • drs:GetAgentCommandForDrs (Read)
  • drs:GetAgentConfirmedResumeInfoForDrs (Read)
  • drs:GetAgentInstallationAssetsForDrs (Read)
  • drs:GetAgentReplicationInfoForDrs (Read)
  • drs:GetAgentRuntimeConfigurationForDrs (Read)
  • drs:IssueAgentCertificateForDrs (Write)
  • drs:SendAgentLogsForDrs (Write)
  • drs:SendAgentMetricsForDrs (Write)
  • drs:UpdateAgentBacklogForDrs (Write)
  • drs:UpdateAgentConversionInfoForDrs (Write)
  • drs:UpdateAgentReplicationInfoForDrs (Write)
  • drs:UpdateAgentSourcePropertiesForDrs (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: Yes, to users, groups and roles.

Why this tier

  • Grants 7 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": "DRSAgentPolicy1",
      "Effect": "Allow",
      "Action": [
        "drs:SendAgentMetricsForDrs",
        "drs:SendAgentLogsForDrs",
        "drs:UpdateAgentSourcePropertiesForDrs",
        "drs:UpdateAgentReplicationInfoForDrs",
        "drs:UpdateAgentConversionInfoForDrs",
        "drs:GetAgentCommandForDrs",
        "drs:GetAgentConfirmedResumeInfoForDrs",
        "drs:GetAgentRuntimeConfigurationForDrs",
        "drs:UpdateAgentBacklogForDrs",
        "drs:GetAgentReplicationInfoForDrs",
        "drs:IssueAgentCertificateForDrs"
      ],
      "Resource": "arn:aws:drs:*:*:source-server/${aws:SourceIdentity}"
    },
    {
      "Sid": "DRSAgentPolicy2",
      "Effect": "Allow",
      "Action": [
        "drs:GetAgentInstallationAssetsForDrs"
      ],
      "Resource": "*"
    }
  ]
}

Version history

Current version v3, edited by AWS on 2023-11-27. 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/AWSElasticDisasterRecoveryAgentPolicy
aws iam attach-user-policy --user-name USER_NAME --policy-arn arn:aws:iam::aws:policy/service-role/AWSElasticDisasterRecoveryAgentPolicy
aws iam attach-group-policy --group-name GROUP_NAME --policy-arn arn:aws:iam::aws:policy/service-role/AWSElasticDisasterRecoveryAgentPolicy

CloudFormation

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

Terraform

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

CDK (TypeScript)

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

Sources

Pending editorial review. No editorial sources are listed yet.