AmazonSageMakerSpacesControllerPolicy
Last Modified
Mar 12, 2026
March 12, 2026 at 09:28 PM UTC
Version
v3
Total Versions
1
Created
Feb 12, 2026
Actions
19
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:StartSession: condition ssm:resourceTag/sagemaker.amazonaws.com/eks-cluster-arn, ssm:resourceTag/sagemaker.amazonaws.com/managed-by, on arn:aws:ssm:*:*:managed-instance/*
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": [
{
"Sid": "AllowOperatorToSSMCreateActivationForSpaces",
"Effect": "Allow",
"Action": [
"ssm:CreateActivation"
],
"Resource": "*",
"Condition": {
"StringEquals": {
"aws:RequestTag/sagemaker.amazonaws.com/managed-by": "amazon-sagemaker-spaces",
"aws:RequestTag/sagemaker.amazonaws.com/eks-cluster-arn": "${aws:PrincipalTag/eks-cluster-arn}"
}
}
},
{
"Sid": "AllowOperatorToSSMDescribeActivations",
"Effect": "Allow",
"Action": [
"ssm:DescribeActivations"
],
"Resource": "*"
},
{
"Sid": "AllowOperatorToSSMDescribeSessions",
"Effect": "Allow",
"Action": [
"ssm:DescribeSessions"
],
"Resource": "*"
},
{
"Sid": "AllowOperatorToSSMDeleteActivation",
"Effect": "Allow",
"Action": [
"ssm:DeleteActivation"
],
"Resource": "*"
},
{
"Sid": "AllowOperatorToAddTagsToActivation",
"Effect": "Allow",
"Action": "ssm:AddTagsToResource",
"Resource": [
"arn:aws:ssm:*:*:managed-instance/*",
"arn:aws:iam::*:role/sagemaker-space-*"
],
"Condition": {
"StringEquals": {
"aws:RequestTag/sagemaker.amazonaws.com/managed-by": "amazon-sagemaker-spaces",
"aws:RequestTag/sagemaker.amazonaws.com/eks-cluster-arn": "${aws:PrincipalTag/eks-cluster-arn}"
}
}
},
{
"Sid": "AllowOperatorToSSMDescribeManagedNodes",
"Effect": "Allow",
"Action": [
"ssm:DescribeInstanceInformation"
],
"Resource": "*"
},
{
"Sid": "AllowOperatorToSSMDeregisterWorkspaceInstances",
"Effect": "Allow",
"Action": [
"ssm:DeregisterManagedInstance"
],
"Resource": "arn:aws:ssm:*:*:managed-instance/*",
"Condition": {
"StringEquals": {
"ssm:resourceTag/sagemaker.amazonaws.com/managed-by": "amazon-sagemaker-spaces",
"ssm:resourceTag/sagemaker.amazonaws.com/eks-cluster-arn": "${aws:PrincipalTag/eks-cluster-arn}"
}
}
},
{
"Sid": "AllowOperatorToPassSsmManagedNodeRole",
"Effect": "Allow",
"Action": "iam:PassRole",
"Resource": "arn:aws:iam::*:role/sagemaker-space-*",
"Condition": {
"StringEquals": {
"iam:PassedToService": "ssm.amazonaws.com"
}
}
},
{
"Sid": "AllowOperatorToSSMStartSession",
"Effect": "Allow",
"Action": [
"ssm:StartSession"
],
"Resource": "arn:aws:ssm:*:*:managed-instance/*",
"Condition": {
"StringEquals": {
"ssm:resourceTag/sagemaker.amazonaws.com/managed-by": "amazon-sagemaker-spaces",
"ssm:resourceTag/sagemaker.amazonaws.com/eks-cluster-arn": "${aws:PrincipalTag/eks-cluster-arn}"
}
}
},
{
"Sid": "AllowStartSessionDocuments",
"Effect": "Allow",
"Action": [
"ssm:StartSession"
],
"Resource": [
"arn:aws:ssm:*::document/AWS-StartSSHSession",
"arn:aws:ssm:*:*:document/SageMaker-Space*"
]
},
{
"Sid": "KMSDescribeKey",
"Effect": "Allow",
"Action": [
"kms:DescribeKey"
],
"Resource": "arn:aws:kms:*:*:key/*"
},
{
"Sid": "KMSKeyOperations",
"Effect": "Allow",
"Action": [
"kms:GenerateDataKey",
"kms:Decrypt"
],
"Resource": "arn:aws:kms:*:*:key/*",
"Condition": {
"StringEquals": {
"kms:EncryptionContext:sagemaker:component": "amazon-sagemaker-spaces",
"kms:EncryptionContext:sagemaker:eks-cluster-arn": "${aws:PrincipalTag/eks-cluster-arn}"
}
}
},
{
"Sid": "AllowOperatorToSSMDescribeDocument",
"Effect": "Allow",
"Action": [
"ssm:DescribeDocument"
],
"Resource": [
"arn:aws:ssm:*:*:document/SageMaker-Space*"
]
},
{
"Sid": "AllowOperatorToSSMCreateDocument",
"Effect": "Allow",
"Action": [
"ssm:CreateDocument"
],
"Resource": "arn:aws:ssm:*:*:document/SageMaker-Space*",
"Condition": {
"StringEquals": {
"aws:RequestTag/sagemaker.amazonaws.com/managed-by": "amazon-sagemaker-spaces",
"aws:RequestTag/sagemaker.amazonaws.com/eks-cluster-arn": "${aws:PrincipalTag/eks-cluster-arn}"
}
}
},
{
"Sid": "AllowOperatorToEnableAdvancedTierForManagedInstances",
"Effect": "Allow",
"Action": [
"ssm:UpdateServiceSetting",
"ssm:GetServiceSetting",
"ssm:ResetServiceSetting"
],
"Resource": "arn:aws:ssm:*:*:servicesetting/ssm/managed-instance/activation-tier"
},
{
"Sid": "AllowOperatorToAddTagsToSSMDocument",
"Effect": "Allow",
"Action": "ssm:AddTagsToResource",
"Resource": "arn:aws:ssm:*:*:document/SageMaker-Space*",
"Condition": {
"StringEquals": {
"aws:RequestTag/sagemaker.amazonaws.com/managed-by": "amazon-sagemaker-spaces"
}
}
}
]
},
"VersionId": "v3",
"IsDefaultVersion": true,
"CreateDate": "2026-02-12T18:01:40+00:00"
}
}Version History (4 recorded)
Raw historyAmazonSageMakerSpacesControllerPolicy - Policy Version v3
No recorded action delta - this version predates the change index. View the raw diff.
Mar 12, 2026
0a793abAmazonSageMakerSpacesControllerPolicy - Policy Version v3
No recorded action delta - this version predates the change index. View the raw diff.
Feb 12, 2026
cbf215fAmazonSageMakerSpacesControllerPolicy - Policy Version v2
No recorded action delta - this version predates the change index. View the raw diff.
Feb 12, 2026
bfb63c6AmazonSageMakerSpacesControllerPolicy - Policy Version v1
No recorded action delta - this version predates the change index. View the raw diff.
Nov 19, 2025
a24e381