AWSApplicationMigrationSSMAccess
Last Modified
Mar 12, 2026
March 12, 2026 at 09:25 PM UTC
Version
v5
Total Versions
3
Created
Feb 12, 2026
Actions
9
Risk
MediumThe 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 existing resources that run as another role
Grants the actions of 1 documented escalation path, but only on named resources or under a condition. Review that scope before trusting it.
- ssm:SendCommand: condition aws:CalledVia, on arn:aws:ssm:*:*:document/*, arn:aws:ssm:*:*:automation-execution/*, arn:aws:ssm:*:*:automation-definition/*:*
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": [
{
"Effect": "Allow",
"Action": [
"ssm:GetCommandInvocation",
"ssm:DescribeInstanceInformation"
],
"Resource": [
"*"
],
"Condition": {
"ForAnyValue:StringEquals": {
"aws:CalledVia": [
"mgn.amazonaws.com"
]
}
}
},
{
"Effect": "Allow",
"Action": [
"ssm:SendCommand",
"ssm:DescribeDocument",
"ssm:StartAutomationExecution"
],
"Resource": [
"arn:aws:ssm:*:*:document/*",
"arn:aws:ssm:*:*:automation-execution/*",
"arn:aws:ssm:*:*:automation-definition/*:*"
],
"Condition": {
"ForAnyValue:StringEquals": {
"aws:CalledVia": [
"mgn.amazonaws.com"
]
}
}
},
{
"Effect": "Allow",
"Action": [
"ssm:SendCommand"
],
"Resource": [
"arn:aws:ec2:*:*:instance/*"
],
"Condition": {
"ForAnyValue:StringEquals": {
"aws:CalledVia": [
"mgn.amazonaws.com"
]
},
"Null": {
"aws:ResourceTag/AWSApplicationMigrationServiceManaged": "false"
}
}
},
{
"Effect": "Allow",
"Action": [
"ssm:ListDocuments"
],
"Resource": "*"
},
{
"Effect": "Allow",
"Action": [
"ssm:ListDocumentVersions",
"ssm:GetDocument"
],
"Resource": "arn:aws:ssm:*:*:document/*"
}
]
},
"VersionId": "v5",
"IsDefaultVersion": true,
"CreateDate": "2026-02-12T18:00:51+00:00"
}
}Version History (8 recorded)
Raw historyAWSApplicationMigrationSSMAccess - Policy Version v5
No recorded action delta - this version predates the change index. View the raw diff.
Mar 12, 2026
2ccc790AWSApplicationMigrationSSMAccess - Policy Version v5
No recorded action delta - this version predates the change index. View the raw diff.
Feb 12, 2026
db74244AWSApplicationMigrationSSMAccess - Policy Version v4
No recorded action delta - this version predates the change index. View the raw diff.
Feb 12, 2026
c2ef97dUpdate detected
No recorded action delta - this version predates the change index. View the raw diff.
Jul 2, 2025
b0924f8Update detected
No recorded action delta - this version predates the change index. View the raw diff.
Sep 18, 2024
aafbae9Update detected
No recorded action delta - this version predates the change index. View the raw diff.
May 13, 2024
1b36617Update detected
No recorded action delta - this version predates the change index. View the raw diff.
Mar 20, 2023
6a1262bUpdate detected
No recorded action delta - this version predates the change index. View the raw diff.
Nov 27, 2022
005dc09