AWSDirectoryServiceServiceRolePolicy

Last Modified

Mar 12, 2026

March 12, 2026 at 09:25 PM UTC

Version

v1

Total Versions

1

Created

Jul 11, 2025

Actions

12

Risk

High

An unrestricted escalation path, identity administration, secret reads or the power to switch off security monitoring. Read from this policy document alone: trust policies, boundaries and SCPs in your account still decide what actually succeeds. How this is assessed

  • High

    Can take over existing resources that run as another role

    Grants every action of 1 documented escalation path on any resource with no condition.

    Use with caution: List the roles attached to the functions, instances, pipelines or notebooks it can modify: the holder effectively has them too.

Policy Document

View on GitHub
{
  "PolicyVersion": {
    "Document": {
      "Version": "2012-10-17",
      "Statement": [
        {
          "Sid": "SSMSendCommandPermission",
          "Effect": "Allow",
          "Action": [
            "ssm:SendCommand"
          ],
          "Resource": [
            "arn:aws:ssm:*:*:document/AWS-RunPowerShellScript",
            "arn:aws:ec2:*:*:instance/*"
          ]
        },
        {
          "Sid": "EC2DescribePermissions",
          "Effect": "Allow",
          "Action": [
            "ec2:DescribeAvailabilityZones",
            "ec2:DescribeDhcpOptions",
            "ec2:DescribeNetworkInterfaces",
            "ec2:DescribeRouteTables",
            "ec2:DescribeSecurityGroups",
            "ec2:DescribeSubnets",
            "ec2:DescribeVpcs"
          ],
          "Resource": "*"
        },
        {
          "Sid": "SSMManagementPermissions",
          "Effect": "Allow",
          "Action": [
            "ssm:ListCommands",
            "ssm:GetCommandInvocation",
            "ssm:DescribeInstanceInformation",
            "ssm:GetConnectionStatus"
          ],
          "Resource": "*"
        }
      ]
    },
    "VersionId": "v1",
    "IsDefaultVersion": true,
    "CreateDate": "2025-07-11T00:22:07+00:00"
  }
}

Version History (2 recorded)

Raw history

AWSDirectoryServiceServiceRolePolicy - Policy Version v1

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

Mar 12, 2026

9f5aa7c

Update detected

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

Jul 11, 2025

72ecdab