Skip to main content
IAM Policy Map

AmazonSageMakerPipelinesIntegrations

OperatorAWS managedActivePermissions reviewedShow on mapCompare

Summary

This Amazon Managed Policy grants permissions commonly needed for use with Callback steps and Lambda steps in SageMaker Model Building Pipelines. It is added to the AmazonSageMaker-ExecutionRole that can be created when setting up SageMaker Studio. It can also be attached to any other role that will be used for authoring or executing pipelines.

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

Identity

ARN
arn:aws:iam::aws:policy/AmazonSageMakerPipelinesIntegrations
Default version
v3
Created
Last edited
Services
elasticmapreduce, events, iam, lambda, sqs

Control-plane actions (17)

By access level: 5 Read, 12 Write.

Control-plane actions by service
ServiceGrantedAccess levels and limitsGranted by
EMR7 of 883 Read, 4 Write; 7 restricted, 0 conditionalelasticmapreduce:AddJobFlowSteps, elasticmapreduce:CancelSteps, elasticmapreduce:DescribeCluster, elasticmapreduce:DescribeStep, elasticmapreduce:ListSteps, elasticmapreduce:RunJobFlow, elasticmapreduce:TerminateJobFlows
EventBridge3 of 711 Read, 2 Write; 3 restricted, 0 conditionalevents:DescribeRule, events:PutRule, events:PutTargets
IAM1 of 1901 Write; 1 restricted, 1 conditionaliam:PassRole
Lambda4 of 1211 Read, 3 Write; 4 restricted, 0 conditionallambda:CreateFunction, lambda:DeleteFunction, lambda:GetFunction, lambda:UpdateFunctionCode
SQS2 of 202 Write; 2 restricted, 0 conditionalsqs:CreateQueue, sqs:SendMessage
EMR: 7 actions
  • elasticmapreduce:AddJobFlowSteps (Write)
  • elasticmapreduce:CancelSteps (Write)
  • elasticmapreduce:DescribeCluster (Read)
  • elasticmapreduce:DescribeStep (Read)
  • elasticmapreduce:ListSteps (Read)
  • elasticmapreduce:RunJobFlow (Write)
  • elasticmapreduce:TerminateJobFlows (Write)
EventBridge: 3 actions
  • events:DescribeRule (Read)
  • events:PutRule (Write)
  • events:PutTargets (Write)
IAM: 1 actions
  • iam:PassRole (Write)
Lambda: 4 actions
  • lambda:CreateFunction (Write)
  • lambda:DeleteFunction (Write)
  • lambda:GetFunction (Read)
  • lambda:UpdateFunctionCode (Write)
SQS: 2 actions
  • sqs:CreateQueue (Write)
  • sqs:SendMessage (Write)

Data-plane actions (1)

By access level: 1 Write.

Data-plane actions by service
ServiceGrantedAccess levels and limitsGranted by
Lambda1 of 141 Write; 1 restricted, 0 conditionallambda: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: scoped.

Can be attached: Yes, to users, groups and roles.

Why this tier

  • Grants 13 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": [
    {
      "Effect": "Allow",
      "Action": [
        "lambda:CreateFunction",
        "lambda:DeleteFunction",
        "lambda:GetFunction",
        "lambda:InvokeFunction",
        "lambda:UpdateFunctionCode"
      ],
      "Resource": [
        "arn:aws:lambda:*:*:function:*sagemaker*",
        "arn:aws:lambda:*:*:function:*sageMaker*",
        "arn:aws:lambda:*:*:function:*SageMaker*"
      ]
    },
    {
      "Effect": "Allow",
      "Action": [
        "sqs:CreateQueue",
        "sqs:SendMessage"
      ],
      "Resource": [
        "arn:aws:sqs:*:*:*sagemaker*",
        "arn:aws:sqs:*:*:*sageMaker*",
        "arn:aws:sqs:*:*:*SageMaker*"
      ]
    },
    {
      "Effect": "Allow",
      "Action": [
        "iam:PassRole"
      ],
      "Resource": "arn:aws:iam::*:role/*",
      "Condition": {
        "StringEquals": {
          "iam:PassedToService": [
            "lambda.amazonaws.com",
            "elasticmapreduce.amazonaws.com",
            "ec2.amazonaws.com"
          ]
        }
      }
    },
    {
      "Effect": "Allow",
      "Action": [
        "events:DescribeRule",
        "events:PutRule",
        "events:PutTargets"
      ],
      "Resource": [
        "arn:aws:events:*:*:rule/SageMakerPipelineExecutionEMRStepStatusUpdateRule",
        "arn:aws:events:*:*:rule/SageMakerPipelineExecutionEMRClusterStatusUpdateRule"
      ]
    },
    {
      "Effect": "Allow",
      "Action": [
        "elasticmapreduce:AddJobFlowSteps",
        "elasticmapreduce:CancelSteps",
        "elasticmapreduce:DescribeStep",
        "elasticmapreduce:RunJobFlow",
        "elasticmapreduce:DescribeCluster",
        "elasticmapreduce:TerminateJobFlows",
        "elasticmapreduce:ListSteps"
      ],
      "Resource": [
        "arn:aws:elasticmapreduce:*:*:cluster/*"
      ]
    }
  ]
}

Version history

Current version v3, edited by AWS on 2023-02-17. 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/AmazonSageMakerPipelinesIntegrations
aws iam attach-user-policy --user-name USER_NAME --policy-arn arn:aws:iam::aws:policy/AmazonSageMakerPipelinesIntegrations
aws iam attach-group-policy --group-name GROUP_NAME --policy-arn arn:aws:iam::aws:policy/AmazonSageMakerPipelinesIntegrations

CloudFormation

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

Terraform

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

CDK (TypeScript)

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

Sources

Pending editorial review. No editorial sources are listed yet.