Skip to main content
IAM Policy Map

AWSSDMPServiceRolePolicy

OperatorService-linked roleActivePermissions reviewedShow on mapCompare

Summary

Allow SDMP to create and manage resources on behalf of the customer.

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

Identity

ARN
arn:aws:iam::aws:policy/aws-service-role/AWSSDMPServiceRolePolicy
Default version
v2
Created
Last edited
Services
account, cloudtrail, config, detective, guardduty, iam, inspector2, macie2, securityhub

Control-plane actions (32)

By access level: 12 List, 2 Permissions management, 13 Read, 1 Tagging, 4 Write.

Control-plane actions by service
ServiceGrantedAccess levels and limitsGranted by
Account1 of 201 List; 0 restricted, 0 conditionalaccount:ListRegions
CloudTrail7 of 661 List, 3 Read, 3 Write; 4 restricted, 4 conditionalcloudtrail:CreateServiceLinkedChannel, cloudtrail:DeleteServiceLinkedChannel, cloudtrail:DescribeTrails, cloudtrail:GetServiceLinkedChannel, cloudtrail:GetTrailStatus, cloudtrail:ListServiceLinkedChannels, cloudtrail:UpdateServiceLinkedChannel
Config2 of 1022 Read; 0 restricted, 0 conditionalconfig:DescribeConfigurationRecorderStatus, config:DescribeConfigurationRecorders
Detective1 of 361 List; 0 restricted, 0 conditionaldetective:ListGraphs
GuardDuty2 of 1031 List, 1 Read; 0 restricted, 0 conditionalguardduty:GetDetector, guardduty:ListDetectors
IAM15 of 1907 List, 2 Permissions management, 4 Read, 1 Tagging, 1 Write; 12 restricted, 4 conditionaliam:AttachRolePolicy, iam:CreateRole, iam:GetPolicy, iam:GetPolicyVersion, iam:GetRole, iam:GetRolePolicy, iam:ListAttachedRolePolicies, iam:ListPolicies, iam:ListPolicyTags, iam:ListPolicyVersions, iam:ListRolePolicies, iam:ListRoleTags and 3 more
Inspector21 of 841 Read; 0 restricted, 0 conditionalinspector2:BatchGetAccountStatus
Macie1 of 811 Read; 0 restricted, 0 conditionalmacie2:GetMacieSession
SecurityHub2 of 1411 List, 1 Read; 0 restricted, 0 conditionalsecurityhub:DescribeHub, securityhub:ListFindingAggregators
Account: 1 actions
  • account:ListRegions (List)
CloudTrail: 7 actions
  • cloudtrail:CreateServiceLinkedChannel (Write)
  • cloudtrail:DeleteServiceLinkedChannel (Write)
  • cloudtrail:DescribeTrails (Read)
  • cloudtrail:GetServiceLinkedChannel (Read)
  • cloudtrail:GetTrailStatus (Read)
  • cloudtrail:ListServiceLinkedChannels (List)
  • cloudtrail:UpdateServiceLinkedChannel (Write)
Config: 2 actions
  • config:DescribeConfigurationRecorderStatus (Read)
  • config:DescribeConfigurationRecorders (Read)
Detective: 1 actions
  • detective:ListGraphs (List)
GuardDuty: 2 actions
  • guardduty:GetDetector (Read)
  • guardduty:ListDetectors (List)
IAM: 15 actions
  • iam:AttachRolePolicy (Permissions management)
  • iam:CreateRole (Write)
  • iam:GetPolicy (Read)
  • iam:GetPolicyVersion (Read)
  • iam:GetRole (Read)
  • iam:GetRolePolicy (Read)
  • iam:ListAttachedRolePolicies (List)
  • iam:ListPolicies (List)
  • iam:ListPolicyTags (List)
  • iam:ListPolicyVersions (List)
  • iam:ListRolePolicies (List)
  • iam:ListRoleTags (List)
  • iam:ListRoles (List)
  • iam:PutRolePolicy (Permissions management)
  • iam:TagRole (Tagging)
Inspector2: 1 actions
  • inspector2:BatchGetAccountStatus (Read)
Macie: 1 actions
  • macie2:GetMacieSession (Read)
SecurityHub: 2 actions
  • securityhub:DescribeHub (Read)
  • securityhub:ListFindingAggregators (List)

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: No (service-linked role policy).

Why this tier

  • Grants 7 write, tagging or permissions-management actions, short of full control of any service.
  • Grants permissions-management actions on iam, but only for scoped resources or under conditions.

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": "ManageServiceLinkedChannel",
      "Effect": "Allow",
      "Action": [
        "cloudtrail:CreateServiceLinkedChannel",
        "cloudtrail:GetServiceLinkedChannel",
        "cloudtrail:UpdateServiceLinkedChannel",
        "cloudtrail:DeleteServiceLinkedChannel"
      ],
      "Resource": "arn:aws:cloudtrail:*:*:channel/aws-service-channel/sdmp/*",
      "Condition": {
        "StringEquals": {
          "aws:ResourceAccount": "${aws:PrincipalAccount}"
        }
      }
    },
    {
      "Sid": "AllowListOperations",
      "Effect": "Allow",
      "Action": [
        "cloudtrail:ListServiceLinkedChannels",
        "iam:ListPolicies",
        "iam:ListPolicyTags",
        "iam:ListRoles",
        "account:ListRegions"
      ],
      "Resource": "*"
    },
    {
      "Sid": "CreateRoleWithConditions",
      "Effect": "Allow",
      "Action": [
        "iam:AttachRolePolicy",
        "iam:CreateRole",
        "iam:PutRolePolicy"
      ],
      "Resource": "arn:aws:iam::*:role/SDMP-*",
      "Condition": {
        "ArnEquals": {
          "iam:PermissionsBoundary": "arn:aws:iam::aws:policy/AWSDenyAll"
        },
        "StringEquals": {
          "aws:ResourceAccount": "${aws:PrincipalAccount}"
        },
        "StringLike": {
          "aws:ResourceTag/CreatedBy": "arn:aws:iam::*:role/SDMPServiceRole*"
        }
      }
    },
    {
      "Sid": "AllowSDMPRoleTagging",
      "Effect": "Allow",
      "Action": "iam:TagRole",
      "Resource": "arn:aws:iam::*:role/SDMP-*",
      "Condition": {
        "ForAllValues:StringEquals": {
          "aws:TagKeys": [
            "CreatedBy"
          ]
        }
      }
    },
    {
      "Sid": "AttachAWSDenyAll",
      "Effect": "Allow",
      "Action": "iam:AttachRolePolicy",
      "Resource": "arn:aws:iam::*:role/SDMP-*",
      "Condition": {
        "ArnEquals": {
          "iam:PolicyARN": "arn:aws:iam::aws:policy/AWSDenyAll"
        },
        "StringLike": {
          "aws:ResourceTag/CreatedBy": "arn:aws:iam::*:role/SDMPServiceRole*"
        },
        "StringEquals": {
          "aws:ResourceAccount": "${aws:PrincipalAccount}"
        }
      }
    },
    {
      "Sid": "ReadSDMPRoles",
      "Effect": "Allow",
      "Action": [
        "iam:GetRole",
        "iam:GetRolePolicy",
        "iam:ListRoleTags",
        "iam:ListRolePolicies",
        "iam:ListAttachedRolePolicies"
      ],
      "Resource": [
        "arn:aws:iam::*:role/SDMP-*",
        "arn:aws:iam::*:role/SDMPServiceRole*",
        "arn:aws:iam::*:role/aws-service-role/sdmp.amazonaws.com/AWSServiceRoleForSDMP"
      ]
    },
    {
      "Sid": "ReadSDMPPolicies",
      "Effect": "Allow",
      "Action": [
        "iam:GetPolicy",
        "iam:GetPolicyVersion",
        "iam:ListPolicyVersions"
      ],
      "Resource": [
        "arn:aws:iam::*:policy/SDMP*"
      ]
    },
    {
      "Sid": "AllowSecurityServiceVerification",
      "Effect": "Allow",
      "Action": [
        "guardduty:ListDetectors",
        "guardduty:GetDetector",
        "macie2:GetMacieSession",
        "config:DescribeConfigurationRecorders",
        "config:DescribeConfigurationRecorderStatus",
        "securityhub:DescribeHub",
        "securityhub:ListFindingAggregators",
        "inspector2:BatchGetAccountStatus",
        "detective:ListGraphs",
        "cloudtrail:DescribeTrails",
        "cloudtrail:GetTrailStatus"
      ],
      "Resource": "*"
    }
  ]
}

Version history

Current version v2, edited by AWS on 2026-08-10. Version history is recorded from 2026-11-11. Earlier versions are in the IAM console under Policy versions.

Attach snippets

This policy cannot be attached to users, groups or roles, so there are no attach snippets.

Sources

Pending editorial review. No editorial sources are listed yet.