AWSElasticDisasterRecoveryRecoveryInstancePolicy

Last Modified

Mar 12, 2026

March 12, 2026 at 09:26 PM UTC

Version

v4

Total Versions

5

Created

Nov 27, 2023

Actions

30

Risk

Medium

The same capabilities in a scoped form, resource policy writes, reads across all data, or full access to a whole service. Read from this policy document alone: trust policies, boundaries and SCPs in your account still decide what actually succeeds. How this is assessed

  • Medium

    Can take over other users or roles

    Grants the actions of 1 documented escalation path, but only on named resources or under a condition. Review that scope before trusting it.

    • sts-001sts:AssumeRolescoped
      • sts:AssumeRole: condition aws:RequestTag/SourceInstanceARN, sts:TransitiveTagKeys, on arn:aws:iam::*:role/service-role/DRSCrossAccountAgentAuthorizedRole_*

    Use with caution: Check which roles, users or policies fall inside the scope shown above. Within it the escalation works as documented, so keep privileged principals out of it.

Policy Document

View on GitHub
{
  "PolicyVersion": {
    "Document": {
      "Version": "2012-10-17",
      "Statement": [
        {
          "Sid": "DRSRecoveryInstancePolicy1",
          "Effect": "Allow",
          "Action": [
            "drs:SendAgentMetricsForDrs",
            "drs:SendAgentLogsForDrs",
            "drs:UpdateAgentSourcePropertiesForDrs",
            "drs:UpdateAgentReplicationInfoForDrs",
            "drs:UpdateAgentConversionInfoForDrs",
            "drs:GetAgentCommandForDrs",
            "drs:GetAgentConfirmedResumeInfoForDrs",
            "drs:GetAgentRuntimeConfigurationForDrs",
            "drs:UpdateAgentBacklogForDrs",
            "drs:GetAgentReplicationInfoForDrs",
            "drs:UpdateReplicationCertificateForDrs",
            "drs:NotifyReplicationServerAuthenticationForDrs"
          ],
          "Resource": "arn:aws:drs:*:*:recovery-instance/*",
          "Condition": {
            "StringEquals": {
              "drs:EC2InstanceARN": "${ec2:SourceInstanceARN}"
            }
          }
        },
        {
          "Sid": "DRSRecoveryInstancePolicy2",
          "Effect": "Allow",
          "Action": [
            "drs:DescribeRecoveryInstances"
          ],
          "Resource": "*"
        },
        {
          "Sid": "DRSRecoveryInstancePolicy3",
          "Effect": "Allow",
          "Action": [
            "ec2:DescribeInstanceTypes"
          ],
          "Resource": "*"
        },
        {
          "Sid": "DRSRecoveryInstancePolicy4",
          "Effect": "Allow",
          "Action": [
            "drs:GetAgentInstallationAssetsForDrs",
            "drs:SendClientLogsForDrs",
            "drs:CreateSourceServerForDrs"
          ],
          "Resource": "*"
        },
        {
          "Sid": "DRSRecoveryInstancePolicy5",
          "Effect": "Allow",
          "Action": [
            "drs:TagResource"
          ],
          "Resource": "arn:aws:drs:*:*:source-server/*",
          "Condition": {
            "StringEquals": {
              "drs:CreateAction": "CreateSourceServerForDrs"
            }
          }
        },
        {
          "Sid": "DRSRecoveryInstancePolicy6",
          "Effect": "Allow",
          "Action": [
            "drs:SendAgentMetricsForDrs",
            "drs:SendAgentLogsForDrs",
            "drs:UpdateAgentSourcePropertiesForDrs",
            "drs:UpdateAgentReplicationInfoForDrs",
            "drs:UpdateAgentConversionInfoForDrs",
            "drs:GetAgentCommandForDrs",
            "drs:GetAgentConfirmedResumeInfoForDrs",
            "drs:GetAgentRuntimeConfigurationForDrs",
            "drs:UpdateAgentBacklogForDrs",
            "drs:GetAgentReplicationInfoForDrs"
          ],
          "Resource": "arn:aws:drs:*:*:source-server/*"
        },
        {
          "Sid": "DRSRecoveryInstancePolicy7",
          "Effect": "Allow",
          "Action": [
            "sts:AssumeRole",
            "sts:TagSession"
          ],
          "Resource": [
            "arn:aws:iam::*:role/service-role/DRSCrossAccountAgentAuthorizedRole_*"
          ],
          "Condition": {
            "StringLike": {
              "aws:RequestTag/SourceInstanceARN": "${ec2:SourceInstanceARN}"
            },
            "ForAnyValue:StringEquals": {
              "sts:TransitiveTagKeys": "SourceInstanceARN"
            }
          }
        }
      ]
    },
    "VersionId": "v4",
    "IsDefaultVersion": true,
    "CreateDate": "2023-11-27T13:11:08+00:00"
  }
}

Version History (8 recorded)

Raw history

AWSElasticDisasterRecoveryRecoveryInstancePolicy - Policy Version v4

No recorded action delta - this version predates the change index. View the raw diff.

Mar 12, 2026

2ee886f

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Sep 18, 2024

aafbae9

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

May 13, 2024

1b36617

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Nov 27, 2023

6315135

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Nov 27, 2023

1949bb5

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

May 14, 2023

a171fb1

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Oct 30, 2022

9e6a9bb

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Nov 17, 2021

ea469be