AmazonSSMServiceRolePolicy
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.
| Service | Granted | Access levels and limits | Granted by |
|---|---|---|---|
| CloudFormation | 7 of 104 | 4 List, 1 Read, 2 Write; 4 restricted, 0 conditional | cloudformation:DeleteStackInstances, cloudformation:DeleteStackSet, cloudformation:DescribeStackSetOperation, cloudformation:DescribeStacks, cloudformation:ListStackInstances, cloudformation:ListStackResources, cloudformation:ListStackSets |
| CloudWatch | 1 of 160 | 1 Read; 0 restricted, 0 conditional | cloudwatch:DescribeAlarms |
| Compute Optimizer | 2 of 28 | 2 List; 0 restricted, 0 conditional | compute-optimizer:GetEC2InstanceRecommendations, compute-optimizer:GetEnrollmentStatus |
| Config | 5 of 102 | 1 List, 4 Read; 0 restricted, 0 conditional | config:DescribeComplianceByConfigRule, config:DescribeComplianceByResource, config:DescribeConfigurationRecorders, config:DescribeRemediationConfigurations, config:SelectResourceConfig |
| EC2 | 3 of 834 | 3 List; 0 restricted, 0 conditional | ec2:DescribeInstanceAttribute, ec2:DescribeInstanceStatus, ec2:DescribeInstances |
| EventBridge | 5 of 71 | 1 Read, 4 Write; 4 restricted, 2 conditional | events:DeleteRule, events:DescribeRule, events:PutRule, events:PutTargets, events:RemoveTargets |
| IAM | 1 of 190 | 1 Write; 1 restricted, 1 conditional | iam:PassRole |
| Organizations | 1 of 63 | 1 Read; 0 restricted, 0 conditional | organizations:DescribeOrganization |
| Resource Explorer | 1 of 37 | 1 Write; 1 restricted, 0 conditional | resource-explorer-2:CreateManagedView |
| Resource Groups | 3 of 29 | 2 List, 1 Read; 0 restricted, 0 conditional | resource-groups:GetGroupQuery, resource-groups:ListGroupResources, resource-groups:ListGroups |
| SecurityHub | 1 of 141 | 1 Read; 0 restricted, 0 conditional | securityhub:DescribeHub |
| Systems Manager | 15 of 164 | 4 List, 5 Read, 6 Write; 3 restricted, 1 conditional | ssm: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 Functions | 2 of 37 | 1 Read, 1 Write; 2 restricted, 0 conditional | states:DescribeExecution, states:StartExecution |
| Support | 4 of 39 | 4 Read; 0 restricted, 0 conditional | support:DescribeCases, support:DescribeTrustedAdvisorCheckResult, support:DescribeTrustedAdvisorCheckSummaries, support:DescribeTrustedAdvisorChecks |
| Resource Group Tagging | 1 of 9 | 1 Read; 0 restricted, 0 conditional | tag: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.
| Service | Granted | Access levels and limits | Granted by |
|---|---|---|---|
| Lambda | 1 of 14 | 1 Write; 1 restricted, 0 conditional | lambda: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.
Related policies
Same service
- AdministratorAccess-AWSElasticBeanstalk
- AIDevOpsOrganizationsAccessPolicy
- AIOpsOperatorAccess
- AmazonDataZoneRedshiftGlueProvisioningPolicy
- AmazonEC2ImageReferencesAccessPolicy
- AmazonEC2RoleforSSM
- AmazonEKSConnectorServiceRolePolicy
- AmazonEKSLocalOutpostClusterPolicy
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
{
"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.