Skip to main content
IAM Policy Map

AmazonSSMServiceRolePolicy

OperatorService-linked roleActivePermissions reviewedShow on mapCompare

Summary

Provides access to AWS Resources managed or used by Amazon SSM

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

Identity

ARN
arn:aws:iam::aws:policy/aws-service-role/AmazonSSMServiceRolePolicy
Default version
v17
Created
Last edited
Services
cloudformation, cloudwatch, compute-optimizer, config, ec2, events, iam, lambda, organizations, resource-explorer-2, resource-groups, securityhub, ssm, states, support, tag

Control-plane actions (52)

By access level: 16 List, 21 Read, 15 Write.

Control-plane actions by service
ServiceGrantedAccess levels and limitsGranted by
CloudFormation7 of 1044 List, 1 Read, 2 Write; 4 restricted, 0 conditionalcloudformation:DeleteStackInstances, cloudformation:DeleteStackSet, cloudformation:DescribeStackSetOperation, cloudformation:DescribeStacks, cloudformation:ListStackInstances, cloudformation:ListStackResources, cloudformation:ListStackSets
CloudWatch1 of 1601 Read; 0 restricted, 0 conditionalcloudwatch:DescribeAlarms
Compute Optimizer2 of 282 List; 0 restricted, 0 conditionalcompute-optimizer:GetEC2InstanceRecommendations, compute-optimizer:GetEnrollmentStatus
Config5 of 1021 List, 4 Read; 0 restricted, 0 conditionalconfig:DescribeComplianceByConfigRule, config:DescribeComplianceByResource, config:DescribeConfigurationRecorders, config:DescribeRemediationConfigurations, config:SelectResourceConfig
EC23 of 8343 List; 0 restricted, 0 conditionalec2:DescribeInstanceAttribute, ec2:DescribeInstanceStatus, ec2:DescribeInstances
EventBridge5 of 711 Read, 4 Write; 4 restricted, 2 conditionalevents:DeleteRule, events:DescribeRule, events:PutRule, events:PutTargets, events:RemoveTargets
IAM1 of 1901 Write; 1 restricted, 1 conditionaliam:PassRole
Organizations1 of 631 Read; 0 restricted, 0 conditionalorganizations:DescribeOrganization
Resource Explorer1 of 371 Write; 1 restricted, 0 conditionalresource-explorer-2:CreateManagedView
Resource Groups3 of 292 List, 1 Read; 0 restricted, 0 conditionalresource-groups:GetGroupQuery, resource-groups:ListGroupResources, resource-groups:ListGroups
SecurityHub1 of 1411 Read; 0 restricted, 0 conditionalsecurityhub:DescribeHub
Systems Manager15 of 1644 List, 5 Read, 6 Write; 3 restricted, 1 conditionalssm:CancelCommand, ssm:GetAutomationExecution, ssm:GetCalendarState, ssm:GetCommandInvocation, ssm:GetParameters, ssm:GetServiceSetting, ssm:ListCloudConnectors, ssm:ListCommandInvocations, ssm:ListCommands, ssm:ListTagsForResource, ssm:PutInventory, ssm:SendCommand and 3 more
Step Functions2 of 371 Read, 1 Write; 2 restricted, 0 conditionalstates:DescribeExecution, states:StartExecution
Support4 of 394 Read; 0 restricted, 0 conditionalsupport:DescribeCases, support:DescribeTrustedAdvisorCheckResult, support:DescribeTrustedAdvisorCheckSummaries, support:DescribeTrustedAdvisorChecks
Resource Group Tagging1 of 91 Read; 0 restricted, 0 conditionaltag:GetResources
CloudFormation: 7 actions
  • cloudformation:DeleteStackInstances (Write)
  • cloudformation:DeleteStackSet (Write)
  • cloudformation:DescribeStackSetOperation (Read)
  • cloudformation:DescribeStacks (List)
  • cloudformation:ListStackInstances (List)
  • cloudformation:ListStackResources (List)
  • cloudformation:ListStackSets (List)
CloudWatch: 1 actions
  • cloudwatch:DescribeAlarms (Read)
Compute Optimizer: 2 actions
  • compute-optimizer:GetEC2InstanceRecommendations (List)
  • compute-optimizer:GetEnrollmentStatus (List)
Config: 5 actions
  • config:DescribeComplianceByConfigRule (Read)
  • config:DescribeComplianceByResource (Read)
  • config:DescribeConfigurationRecorders (Read)
  • config:DescribeRemediationConfigurations (List)
  • config:SelectResourceConfig (Read)
EC2: 3 actions
  • ec2:DescribeInstanceAttribute (List)
  • ec2:DescribeInstanceStatus (List)
  • ec2:DescribeInstances (List)
EventBridge: 5 actions
  • events:DeleteRule (Write)
  • events:DescribeRule (Read)
  • events:PutRule (Write)
  • events:PutTargets (Write)
  • events:RemoveTargets (Write)
IAM: 1 actions
  • iam:PassRole (Write)
Organizations: 1 actions
  • organizations:DescribeOrganization (Read)
Resource Explorer: 1 actions
  • resource-explorer-2:CreateManagedView (Write)
Resource Groups: 3 actions
  • resource-groups:GetGroupQuery (Read)
  • resource-groups:ListGroupResources (List)
  • resource-groups:ListGroups (List)
SecurityHub: 1 actions
  • securityhub:DescribeHub (Read)
Systems Manager: 15 actions
  • ssm:CancelCommand (Write)
  • ssm:GetAutomationExecution (Read)
  • ssm:GetCalendarState (Read)
  • ssm:GetCommandInvocation (Read)
  • ssm:GetParameters (Read)
  • ssm:GetServiceSetting (Read)
  • ssm:ListCloudConnectors (List)
  • ssm:ListCommandInvocations (List)
  • ssm:ListCommands (List)
  • ssm:ListTagsForResource (List)
  • ssm:PutInventory (Write)
  • ssm:SendCommand (Write)
  • ssm:StartAutomationExecution (Write)
  • ssm:StopAutomationExecution (Write)
  • ssm:UpdateServiceSetting (Write)
Step Functions: 2 actions
  • states:DescribeExecution (Read)
  • states:StartExecution (Write)
Support: 4 actions
  • support:DescribeCases (Read)
  • support:DescribeTrustedAdvisorCheckResult (Read)
  • support:DescribeTrustedAdvisorCheckSummaries (Read)
  • support:DescribeTrustedAdvisorChecks (Read)
Resource Group Tagging: 1 actions
  • tag:GetResources (Read)

Data-plane actions (1)

By access level: 1 Write.

Data-plane actions by service
ServiceGrantedAccess levels and limitsGranted by
Lambda1 of 141 Write; 1 restricted, 0 conditionallambda:InvokeFunction
Lambda: 1 actions
  • lambda:InvokeFunction (Write)

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 16 write, tagging or permissions-management actions, short of full control of any service.
  • Grants iam:PassRole, but only for scoped roles or under conditions (for example iam:PassedToService).
  • Can read secret values or decrypt data. Reads are not a High privilege rule.

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": [
    {
      "Effect": "Allow",
      "Action": [
        "ssm:CancelCommand",
        "ssm:GetCommandInvocation",
        "ssm:ListCommandInvocations",
        "ssm:ListCommands",
        "ssm:SendCommand",
        "ssm:GetAutomationExecution",
        "ssm:GetParameters",
        "ssm:StartAutomationExecution",
        "ssm:StopAutomationExecution",
        "ssm:ListTagsForResource",
        "ssm:GetCalendarState",
        "ssm:ListCloudConnectors"
      ],
      "Resource": [
        "*"
      ]
    },
    {
      "Effect": "Allow",
      "Action": [
        "ssm:PutInventory"
      ],
      "Resource": [
        "*"
      ],
      "Condition": {
        "ForAllValues:StringEquals": {
          "ssm:InventoryTypeName": [
            "AWS:ComplianceItem",
            "AWS:PatchSummary"
          ]
        }
      }
    },
    {
      "Effect": "Allow",
      "Action": [
        "ssm:UpdateServiceSetting",
        "ssm:GetServiceSetting"
      ],
      "Resource": [
        "arn:aws:ssm:*:*:servicesetting/ssm/opsitem/*",
        "arn:aws:ssm:*:*:servicesetting/ssm/opsdata/*"
      ]
    },
    {
      "Effect": "Allow",
      "Action": [
        "ec2:DescribeInstanceAttribute",
        "ec2:DescribeInstanceStatus",
        "ec2:DescribeInstances"
      ],
      "Resource": [
        "*"
      ]
    },
    {
      "Effect": "Allow",
      "Action": [
        "lambda:InvokeFunction"
      ],
      "Resource": [
        "arn:aws:lambda:*:*:function:SSM*",
        "arn:aws:lambda:*:*:function:*:SSM*"
      ]
    },
    {
      "Effect": "Allow",
      "Action": [
        "states:DescribeExecution",
        "states:StartExecution"
      ],
      "Resource": [
        "arn:aws:states:*:*:stateMachine:SSM*",
        "arn:aws:states:*:*:execution:SSM*"
      ]
    },
    {
      "Effect": "Allow",
      "Action": [
        "resource-groups:ListGroups",
        "resource-groups:ListGroupResources",
        "resource-groups:GetGroupQuery"
      ],
      "Resource": [
        "*"
      ]
    },
    {
      "Effect": "Allow",
      "Action": [
        "cloudformation:DescribeStacks",
        "cloudformation:ListStackResources"
      ],
      "Resource": [
        "*"
      ]
    },
    {
      "Effect": "Allow",
      "Action": [
        "tag:GetResources"
      ],
      "Resource": [
        "*"
      ]
    },
    {
      "Effect": "Allow",
      "Action": [
        "config:SelectResourceConfig"
      ],
      "Resource": [
        "*"
      ]
    },
    {
      "Effect": "Allow",
      "Action": [
        "compute-optimizer:GetEC2InstanceRecommendations",
        "compute-optimizer:GetEnrollmentStatus"
      ],
      "Resource": [
        "*"
      ]
    },
    {
      "Effect": "Allow",
      "Action": [
        "support:DescribeTrustedAdvisorChecks",
        "support:DescribeTrustedAdvisorCheckSummaries",
        "support:DescribeTrustedAdvisorCheckResult",
        "support:DescribeCases"
      ],
      "Resource": [
        "*"
      ]
    },
    {
      "Effect": "Allow",
      "Action": [
        "config:DescribeComplianceByConfigRule",
        "config:DescribeComplianceByResource",
        "config:DescribeRemediationConfigurations",
        "config:DescribeConfigurationRecorders"
      ],
      "Resource": [
        "*"
      ]
    },
    {
      "Effect": "Allow",
      "Action": "cloudwatch:DescribeAlarms",
      "Resource": "*"
    },
    {
      "Effect": "Allow",
      "Action": "iam:PassRole",
      "Resource": "*",
      "Condition": {
        "StringEquals": {
          "iam:PassedToService": [
            "ssm.amazonaws.com"
          ]
        }
      }
    },
    {
      "Effect": "Allow",
      "Action": "organizations:DescribeOrganization",
      "Resource": "*"
    },
    {
      "Effect": "Allow",
      "Action": "cloudformation:ListStackSets",
      "Resource": "*"
    },
    {
      "Effect": "Allow",
      "Action": [
        "cloudformation:ListStackInstances",
        "cloudformation:DescribeStackSetOperation",
        "cloudformation:DeleteStackSet"
      ],
      "Resource": "arn:aws:cloudformation:*:*:stackset/AWS-QuickSetup-SSM*:*"
    },
    {
      "Effect": "Allow",
      "Action": "cloudformation:DeleteStackInstances",
      "Resource": [
        "arn:aws:cloudformation:*:*:stackset/AWS-QuickSetup-SSM*:*",
        "arn:aws:cloudformation:*:*:stackset-target/AWS-QuickSetup-SSM*:*",
        "arn:aws:cloudformation:*:*:type/resource/*"
      ]
    },
    {
      "Effect": "Allow",
      "Action": [
        "events:PutRule",
        "events:PutTargets"
      ],
      "Resource": "*",
      "Condition": {
        "StringEquals": {
          "events:ManagedBy": "ssm.amazonaws.com"
        }
      }
    },
    {
      "Effect": "Allow",
      "Action": [
        "events:RemoveTargets",
        "events:DeleteRule"
      ],
      "Resource": [
        "arn:aws:events:*:*:rule/SSMExplorerManagedRule"
      ]
    },
    {
      "Effect": "Allow",
      "Action": "events:DescribeRule",
      "Resource": "*"
    },
    {
      "Effect": "Allow",
      "Action": "securityhub:DescribeHub",
      "Resource": "*"
    },
    {
      "Effect": "Allow",
      "Action": "resource-explorer-2:CreateManagedView",
      "Resource": "arn:aws:resource-explorer-2:*:*:managed-view/AWSManagedViewForSSM*"
    }
  ]
}

Version history

Current version v17, edited by AWS on 2026-06-26. 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.