AmazonSageMakerGroundTruthExecution
Summary
Provides access to AWS services that are required to run SageMaker GroundTruth Labeling job
Permissions imported from the AWS Managed Policy Reference Guide; other sections pending editorial review.
Identity
- ARN
arn:aws:iam::aws:policy/AmazonSageMakerGroundTruthExecution- Default version
- v3
- Created
- Last edited
- Services
- cloudwatch, ec2, lambda, logs, s3, sns, sqs
Control-plane actions (17)
By access level: 2 List, 1 Permissions management, 4 Read, 10 Write.
| Service | Granted | Access levels and limits | Granted by |
|---|---|---|---|
| EC2 | 3 of 834 | 1 List, 2 Write; 3 restricted, 3 conditional | ec2:CreateVpcEndpoint, ec2:DeleteVpcEndpoints, ec2:DescribeVpcEndpoints |
| CloudWatch Logs | 4 of 133 | 1 List, 3 Write; 0 restricted, 0 conditional | logs:CreateLogGroup, logs:CreateLogStream, logs:DescribeLogStreams, logs:PutLogEvents |
| S3 | 1 of 155 | 1 Read; 0 restricted, 0 conditional | s3:GetBucketLocation |
| SNS | 2 of 40 | 2 Write; 1 restricted, 1 conditional | sns:Subscribe, sns:Unsubscribe |
| SQS | 7 of 20 | 1 Permissions management, 3 Read, 3 Write; 7 restricted, 0 conditional | sqs:CreateQueue, sqs:DeleteMessage, sqs:GetQueueAttributes, sqs:GetQueueUrl, sqs:ReceiveMessage, sqs:SendMessage, sqs:SetQueueAttributes |
EC2: 3 actions
- ec2:CreateVpcEndpoint (Write)
- ec2:DeleteVpcEndpoints (Write)
- ec2:DescribeVpcEndpoints (List)
CloudWatch Logs: 4 actions
- logs:CreateLogGroup (Write)
- logs:CreateLogStream (Write)
- logs:DescribeLogStreams (List)
- logs:PutLogEvents (Write)
S3: 1 actions
- s3:GetBucketLocation (Read)
SNS: 2 actions
- sns:Subscribe (Write)
- sns:Unsubscribe (Write)
SQS: 7 actions
- sqs:CreateQueue (Write)
- sqs:DeleteMessage (Write)
- sqs:GetQueueAttributes (Read)
- sqs:GetQueueUrl (Read)
- sqs:ReceiveMessage (Read)
- sqs:SendMessage (Write)
- sqs:SetQueueAttributes (Permissions management)
Data-plane actions (7)
By access level: 1 List, 1 Read, 5 Write.
| Service | Granted | Access levels and limits | Granted by |
|---|---|---|---|
| CloudWatch | 1 of 5 | 1 Write; 0 restricted, 0 conditional | cloudwatch:PutMetricData |
| Lambda | 1 of 14 | 1 Write; 1 restricted, 0 conditional | lambda:InvokeFunction |
| S3 | 4 of 25 | 1 List, 1 Read, 2 Write; 3 restricted, 0 conditional | s3:AbortMultipartUpload, s3:GetObject, s3:ListBucket, s3:PutObject |
| SNS | All 1 actions (see the SNS page) | 1 Write; 1 restricted, 0 conditional | sns:Publish |
CloudWatch: 1 actions
- cloudwatch:PutMetricData (Write)
Lambda: 1 actions
- lambda:InvokeFunction (Write)
S3: 4 actions
- s3:AbortMultipartUpload (Write)
- s3:GetObject (Read)
- s3:ListBucket (List)
- s3:PutObject (Write)
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 16 write, tagging or permissions-management actions, short of full control of any service.
- Grants data-plane write actions on a data store, but only for scoped resources or under conditions.
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
- AccessAnalyzerServiceRolePolicy
- AdministratorAccess-AWSElasticBeanstalk
- AIDevOpsReleaseManagementVPCPolicy
- AlexaForBusinessGatewayExecution
- AmazonAPIGatewayPushToCloudWatchLogs
- AmazonAppFlowFullAccess
- AmazonAppStreamServiceAccess
- AmazonBedrockStudioPermissionsBoundary
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": [
{
"Sid": "CustomLabelingJobs",
"Effect": "Allow",
"Action": [
"lambda:InvokeFunction"
],
"Resource": [
"arn:aws:lambda:*:*:function:*GtRecipe*",
"arn:aws:lambda:*:*:function:*LabelingFunction*",
"arn:aws:lambda:*:*:function:*SageMaker*",
"arn:aws:lambda:*:*:function:*sagemaker*",
"arn:aws:lambda:*:*:function:*Sagemaker*"
]
},
{
"Effect": "Allow",
"Action": [
"s3:AbortMultipartUpload",
"s3:GetObject",
"s3:PutObject"
],
"Resource": [
"arn:aws:s3:::*GroundTruth*",
"arn:aws:s3:::*Groundtruth*",
"arn:aws:s3:::*groundtruth*",
"arn:aws:s3:::*SageMaker*",
"arn:aws:s3:::*Sagemaker*",
"arn:aws:s3:::*sagemaker*"
]
},
{
"Effect": "Allow",
"Action": [
"s3:GetObject"
],
"Resource": "*",
"Condition": {
"StringEqualsIgnoreCase": {
"s3:ExistingObjectTag/SageMaker": "true"
}
}
},
{
"Effect": "Allow",
"Action": [
"s3:GetBucketLocation",
"s3:ListBucket"
],
"Resource": "*"
},
{
"Sid": "CloudWatch",
"Effect": "Allow",
"Action": [
"cloudwatch:PutMetricData",
"logs:CreateLogStream",
"logs:CreateLogGroup",
"logs:DescribeLogStreams",
"logs:PutLogEvents"
],
"Resource": "*"
},
{
"Sid": "StreamingQueue",
"Effect": "Allow",
"Action": [
"sqs:CreateQueue",
"sqs:DeleteMessage",
"sqs:GetQueueAttributes",
"sqs:GetQueueUrl",
"sqs:ReceiveMessage",
"sqs:SendMessage",
"sqs:SetQueueAttributes"
],
"Resource": "arn:aws:sqs:*:*:*GroundTruth*"
},
{
"Sid": "StreamingTopicSubscribe",
"Effect": "Allow",
"Action": "sns:Subscribe",
"Resource": [
"arn:aws:sns:*:*:*GroundTruth*",
"arn:aws:sns:*:*:*Groundtruth*",
"arn:aws:sns:*:*:*groundTruth*",
"arn:aws:sns:*:*:*groundtruth*",
"arn:aws:sns:*:*:*SageMaker*",
"arn:aws:sns:*:*:*Sagemaker*",
"arn:aws:sns:*:*:*sageMaker*",
"arn:aws:sns:*:*:*sagemaker*"
],
"Condition": {
"StringEquals": {
"sns:Protocol": "sqs"
},
"StringLike": {
"sns:Endpoint": "arn:aws:sqs:*:*:*GroundTruth*"
}
}
},
{
"Sid": "StreamingTopic",
"Effect": "Allow",
"Action": [
"sns:Publish"
],
"Resource": [
"arn:aws:sns:*:*:*GroundTruth*",
"arn:aws:sns:*:*:*Groundtruth*",
"arn:aws:sns:*:*:*groundTruth*",
"arn:aws:sns:*:*:*groundtruth*",
"arn:aws:sns:*:*:*SageMaker*",
"arn:aws:sns:*:*:*Sagemaker*",
"arn:aws:sns:*:*:*sageMaker*",
"arn:aws:sns:*:*:*sagemaker*"
]
},
{
"Sid": "StreamingTopicUnsubscribe",
"Effect": "Allow",
"Action": [
"sns:Unsubscribe"
],
"Resource": "*"
},
{
"Sid": "WorkforceVPC",
"Effect": "Allow",
"Action": [
"ec2:CreateVpcEndpoint",
"ec2:DescribeVpcEndpoints",
"ec2:DeleteVpcEndpoints"
],
"Resource": "*",
"Condition": {
"StringLikeIfExists": {
"ec2:VpceServiceName": [
"*sagemaker-task-resources*",
"aws.sagemaker*labeling*"
]
}
}
}
]
}
Version history
Current version v3, edited by AWS on 2022-04-29. 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/AmazonSageMakerGroundTruthExecution
aws iam attach-user-policy --user-name USER_NAME --policy-arn arn:aws:iam::aws:policy/AmazonSageMakerGroundTruthExecution
aws iam attach-group-policy --group-name GROUP_NAME --policy-arn arn:aws:iam::aws:policy/AmazonSageMakerGroundTruthExecutionCloudFormation
Resources:
ExampleRole:
Type: AWS::IAM::Role
Properties:
AssumeRolePolicyDocument: {} # replace with your trust policy
ManagedPolicyArns:
- arn:aws:iam::aws:policy/AmazonSageMakerGroundTruthExecutionTerraform
resource "aws_iam_role_policy_attachment" "amazonsagemakergroundtruthexecution" {
role = aws_iam_role.example.name
policy_arn = "arn:aws:iam::aws:policy/AmazonSageMakerGroundTruthExecution"
}CDK (TypeScript)
role.addManagedPolicy(
iam.ManagedPolicy.fromAwsManagedPolicyName("AmazonSageMakerGroundTruthExecution"),
);Sources
Pending editorial review. No editorial sources are listed yet.