Skip to main content
IAM Policy Map

AmazonSageMakerClusterInstanceRolePolicy

OperatorAWS managedActivePermissions reviewedShow on mapCompare

Summary

This policy grants permissions commonly needed to use Amazon SageMaker Cluster.

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

Identity

ARN
arn:aws:iam::aws:policy/AmazonSageMakerClusterInstanceRolePolicy
Default version
v3
Created
Last edited
Services
cloudwatch, logs, s3, ssmmessages

Control-plane actions (9)

By access level: 1 List, 8 Write.

Control-plane actions by service
ServiceGrantedAccess levels and limitsGranted by
CloudWatch1 of 1601 Write; 1 restricted, 1 conditionalcloudwatch:PutProfileRecords
CloudWatch Logs4 of 1331 List, 3 Write; 4 restricted, 0 conditionallogs:CreateLogGroup, logs:CreateLogStream, logs:DescribeLogStreams, logs:PutLogEvents
SSM MessagesAll 4 actions (see the SSM Messages page)4 Write; 0 restricted, 0 conditionalssmmessages:CreateControlChannel, ssmmessages:CreateDataChannel, ssmmessages:OpenControlChannel, ssmmessages:OpenDataChannel
CloudWatch: 1 actions
  • cloudwatch:PutProfileRecords (Write)
CloudWatch Logs: 4 actions
  • logs:CreateLogGroup (Write)
  • logs:CreateLogStream (Write)
  • logs:DescribeLogStreams (List)
  • logs:PutLogEvents (Write)

Data-plane actions (3)

By access level: 1 List, 1 Read, 1 Write.

Data-plane actions by service
ServiceGrantedAccess levels and limitsGranted by
CloudWatch1 of 51 Write; 1 restricted, 1 conditionalcloudwatch:PutMetricData
S32 of 251 List, 1 Read; 2 restricted, 2 conditionals3:GetObject, s3:ListBucket
CloudWatch: 1 actions
  • cloudwatch:PutMetricData (Write)
S3: 2 actions
  • s3:GetObject (Read)
  • s3:ListBucket (List)

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 9 write, tagging or permissions-management actions, short of full control of any service.

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": "CloudwatchLogStreamPublishPermissions",
      "Effect": "Allow",
      "Action": [
        "logs:PutLogEvents",
        "logs:CreateLogStream",
        "logs:DescribeLogStreams"
      ],
      "Resource": [
        "arn:aws:logs:*:*:log-group:/aws/sagemaker/Clusters/*:log-stream:*"
      ]
    },
    {
      "Sid": "CloudwatchLogGroupCreationPermissions",
      "Effect": "Allow",
      "Action": [
        "logs:CreateLogGroup"
      ],
      "Resource": [
        "arn:aws:logs:*:*:log-group:/aws/sagemaker/Clusters/*"
      ]
    },
    {
      "Sid": "CloudwatchPutMetricDataAccess",
      "Effect": "Allow",
      "Action": [
        "cloudwatch:PutMetricData"
      ],
      "Resource": [
        "*"
      ],
      "Condition": {
        "StringEqualsIfExists": {
          "cloudwatch:namespace": "/aws/sagemaker/Clusters"
        }
      }
    },
    {
      "Sid": "DataRetrievalFromS3BucketPermissions",
      "Effect": "Allow",
      "Action": [
        "s3:ListBucket",
        "s3:GetObject"
      ],
      "Resource": [
        "arn:aws:s3:::sagemaker-*"
      ],
      "Condition": {
        "StringEquals": {
          "aws:ResourceAccount": "${aws:PrincipalAccount}"
        }
      }
    },
    {
      "Sid": "SSMConnectivityPermissions",
      "Effect": "Allow",
      "Action": [
        "ssmmessages:CreateControlChannel",
        "ssmmessages:CreateDataChannel",
        "ssmmessages:OpenControlChannel",
        "ssmmessages:OpenDataChannel"
      ],
      "Resource": "*"
    },
    {
      "Sid": "CloudwatchPutProfileRecordsAccess",
      "Effect": "Allow",
      "Action": [
        "cloudwatch:PutProfileRecords"
      ],
      "Resource": [
        "arn:aws:cloudwatch:*:*:dataset/*"
      ],
      "Condition": {
        "StringEquals": {
          "aws:ResourceAccount": "${aws:PrincipalAccount}"
        }
      }
    }
  ]
}

Version history

Current version v3, edited by AWS on 2026-11-06. 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/AmazonSageMakerClusterInstanceRolePolicy
aws iam attach-user-policy --user-name USER_NAME --policy-arn arn:aws:iam::aws:policy/AmazonSageMakerClusterInstanceRolePolicy
aws iam attach-group-policy --group-name GROUP_NAME --policy-arn arn:aws:iam::aws:policy/AmazonSageMakerClusterInstanceRolePolicy

CloudFormation

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

Terraform

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

CDK (TypeScript)

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

Sources

Pending editorial review. No editorial sources are listed yet.