Skip to main content
IAM Policy Map

AmazonSageMakerSpacesControllerPolicy

OperatorAWS managedActivePermissions reviewedShow on mapCompare

Summary

Grants Systems Manager activation, session management, and KMS key operations permissions required for the SageMaker Spaces Addon to enable secure remote access to EKS SageMaker Spaces.

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

Identity

ARN
arn:aws:iam::aws:policy/AmazonSageMakerSpacesControllerPolicy
Default version
v3
Created
Last edited
Services
iam, kms, ssm

Control-plane actions (17)

By access level: 1 List, 5 Read, 1 Tagging, 10 Write.

Control-plane actions by service
ServiceGrantedAccess levels and limitsGranted by
IAM1 of 1901 Write; 1 restricted, 1 conditionaliam:PassRole
KMS3 of 581 Read, 2 Write; 3 restricted, 2 conditionalkms:Decrypt, kms:DescribeKey, kms:GenerateDataKey
Systems Manager13 of 1641 List, 4 Read, 1 Tagging, 7 Write; 9 restricted, 4 conditionalssm:AddTagsToResource, ssm:CreateActivation, ssm:CreateDocument, ssm:DeleteActivation, ssm:DeregisterManagedInstance, ssm:DescribeActivations, ssm:DescribeDocument, ssm:DescribeInstanceInformation, ssm:DescribeSessions, ssm:GetServiceSetting, ssm:ResetServiceSetting, ssm:StartSession and 1 more
IAM: 1 actions
  • iam:PassRole (Write)
KMS: 3 actions
  • kms:Decrypt (Write)
  • kms:DescribeKey (Read)
  • kms:GenerateDataKey (Write)
Systems Manager: 13 actions
  • ssm:AddTagsToResource (Tagging)
  • ssm:CreateActivation (Write)
  • ssm:CreateDocument (Write)
  • ssm:DeleteActivation (Write)
  • ssm:DeregisterManagedInstance (Write)
  • ssm:DescribeActivations (Read)
  • ssm:DescribeDocument (Read)
  • ssm:DescribeInstanceInformation (Read)
  • ssm:DescribeSessions (List)
  • ssm:GetServiceSetting (Read)
  • ssm:ResetServiceSetting (Write)
  • ssm:StartSession (Write)
  • ssm:UpdateServiceSetting (Write)

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: Yes, to users, groups and roles.

Why this tier

  • Grants 11 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).

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": "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"
        }
      }
    }
  ]
}

Version history

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

Attach snippets

AWS CLI

aws iam attach-role-policy --role-name ROLE_NAME --policy-arn arn:aws:iam::aws:policy/AmazonSageMakerSpacesControllerPolicy
aws iam attach-user-policy --user-name USER_NAME --policy-arn arn:aws:iam::aws:policy/AmazonSageMakerSpacesControllerPolicy
aws iam attach-group-policy --group-name GROUP_NAME --policy-arn arn:aws:iam::aws:policy/AmazonSageMakerSpacesControllerPolicy

CloudFormation

Resources:
  ExampleRole:
    Type: AWS::IAM::Role
    Properties:
      AssumeRolePolicyDocument: {}  # replace with your trust policy
      ManagedPolicyArns:
        - arn:aws:iam::aws:policy/AmazonSageMakerSpacesControllerPolicy

Terraform

resource "aws_iam_role_policy_attachment" "amazonsagemakerspacescontrollerpolicy" {
  role       = aws_iam_role.example.name
  policy_arn = "arn:aws:iam::aws:policy/AmazonSageMakerSpacesControllerPolicy"
}

CDK (TypeScript)

role.addManagedPolicy(
  iam.ManagedPolicy.fromAwsManagedPolicyName("AmazonSageMakerSpacesControllerPolicy"),
);

Sources

Pending editorial review. No editorial sources are listed yet.