AmazonSageMakerPipelinesIntegrations
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.
| Service | Granted | Access levels and limits | Granted by |
|---|---|---|---|
| EMR | 7 of 88 | 3 Read, 4 Write; 7 restricted, 0 conditional | elasticmapreduce:AddJobFlowSteps, elasticmapreduce:CancelSteps, elasticmapreduce:DescribeCluster, elasticmapreduce:DescribeStep, elasticmapreduce:ListSteps, elasticmapreduce:RunJobFlow, elasticmapreduce:TerminateJobFlows |
| EventBridge | 3 of 71 | 1 Read, 2 Write; 3 restricted, 0 conditional | events:DescribeRule, events:PutRule, events:PutTargets |
| IAM | 1 of 190 | 1 Write; 1 restricted, 1 conditional | iam:PassRole |
| Lambda | 4 of 121 | 1 Read, 3 Write; 4 restricted, 0 conditional | lambda:CreateFunction, lambda:DeleteFunction, lambda:GetFunction, lambda:UpdateFunctionCode |
| SQS | 2 of 20 | 2 Write; 2 restricted, 0 conditional | sqs: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.
| Service | Granted | Access levels and limits | Granted by |
|---|---|---|---|
| Lambda | 1 of 14 | 1 Write; 1 restricted, 0 conditional | lambda: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.
Related policies
Same service
- AmazonCodeGuruReviewerFullAccess
- AmazonCodeGuruReviewerServiceRolePolicy
- AmazonConnectCampaignsServiceLinkedRolePolicy
- AmazonDevOpsGuruServiceRolePolicy
- AmazonDynamoDBFullAccesswithDataPipeline
- AmazonEC2RoleforDataPipelineRole
- AmazonEKSConnectorServiceRolePolicy
- AmazonElasticMapReduceEditorsRole
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
{
"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/AmazonSageMakerPipelinesIntegrationsCloudFormation
Resources:
ExampleRole:
Type: AWS::IAM::Role
Properties:
AssumeRolePolicyDocument: {} # replace with your trust policy
ManagedPolicyArns:
- arn:aws:iam::aws:policy/AmazonSageMakerPipelinesIntegrationsTerraform
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.