AmazonSageMakerEdgeDeviceFleetPolicy
Summary
Provides permissions necessary for SageMaker Edge to create and manage a device fleet for the customer using the default cloud connection.
Permissions imported from the AWS Managed Policy Reference Guide; other sections pending editorial review.
Identity
- ARN
arn:aws:iam::aws:policy/service-role/AmazonSageMakerEdgeDeviceFleetPolicy- Default version
- v1
- Created
- Last edited
- Services
- iam, iot, s3, sagemaker
Control-plane actions (10)
By access level: 5 Read, 1 Tagging, 4 Write.
| Service | Granted | Access levels and limits | Granted by |
|---|---|---|---|
| IAM | 2 of 190 | 1 Read, 1 Write; 2 restricted, 1 conditional | iam:GetRole, iam:PassRole |
| IoT | 5 of 293 | 2 Read, 1 Tagging, 2 Write; 5 restricted, 0 conditional | iot:CreateRoleAlias, iot:DescribeRoleAlias, iot:ListTagsForResource, iot:TagResource, iot:UpdateRoleAlias |
| S3 | 1 of 155 | 1 Read; 1 restricted, 0 conditional | s3:GetBucketLocation |
| SageMaker | 2 of 441 | 1 Read, 1 Write; 0 restricted, 0 conditional | sagemaker:GetDeviceRegistration, sagemaker:SendHeartbeat |
IAM: 2 actions
- iam:GetRole (Read)
- iam:PassRole (Write)
IoT: 5 actions
- iot:CreateRoleAlias (Write)
- iot:DescribeRoleAlias (Read)
- iot:ListTagsForResource (Read)
- iot:TagResource (Tagging)
- iot:UpdateRoleAlias (Write)
S3: 1 actions
- s3:GetBucketLocation (Read)
SageMaker: 2 actions
- sagemaker:GetDeviceRegistration (Read)
- sagemaker:SendHeartbeat (Write)
Data-plane actions (1)
By access level: 1 Write.
| Service | Granted | Access levels and limits | Granted by |
|---|---|---|---|
| S3 | 1 of 25 | 1 Write; 1 restricted, 0 conditional | s3:PutObject |
S3: 1 actions
- 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 6 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.
- 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
- AccessAnalyzerServiceRolePolicy
- AccountManagementFromVercel
- AdministratorAccess-AWSElasticBeanstalk
- AmazonAppFlowFullAccess
- AmazonApplicationRecoveryControllerRegionSwitchPlanExecutionPolicy
- AmazonAppStreamServiceAccess
- AmazonAugmentedAIFullAccess
- AmazonAugmentedAIHumanLoopFullAccess
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": "DeviceS3Access",
"Effect": "Allow",
"Action": [
"s3:PutObject",
"s3:GetBucketLocation"
],
"Resource": [
"arn:aws:s3:::*SageMaker*",
"arn:aws:s3:::*Sagemaker*",
"arn:aws:s3:::*sagemaker*"
]
},
{
"Sid": "SageMakerEdgeApis",
"Effect": "Allow",
"Action": [
"sagemaker:SendHeartbeat",
"sagemaker:GetDeviceRegistration"
],
"Resource": "*"
},
{
"Sid": "CreateIoTRoleAlias",
"Effect": "Allow",
"Action": [
"iot:CreateRoleAlias",
"iot:DescribeRoleAlias",
"iot:UpdateRoleAlias",
"iot:ListTagsForResource",
"iot:TagResource"
],
"Resource": [
"arn:aws:iot:*:*:rolealias/SageMakerEdge*"
]
},
{
"Sid": "CreateIoTRoleAliasIamPermissionsGetRole",
"Effect": "Allow",
"Action": [
"iam:GetRole"
],
"Resource": [
"arn:aws:iam::*:role/*SageMaker*",
"arn:aws:iam::*:role/*Sagemaker*",
"arn:aws:iam::*:role/*sagemaker*"
]
},
{
"Sid": "CreateIoTRoleAliasIamPermissionsPassRole",
"Effect": "Allow",
"Action": [
"iam:PassRole"
],
"Resource": [
"arn:aws:iam::*:role/*SageMaker*",
"arn:aws:iam::*:role/*Sagemaker*",
"arn:aws:iam::*:role/*sagemaker*"
],
"Condition": {
"StringEqualsIfExists": {
"iam:PassedToService": [
"iot.amazonaws.com",
"credentials.iot.amazonaws.com"
]
}
}
}
]
}
Version history
Current version v1, edited by AWS on 2020-12-08. 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/service-role/AmazonSageMakerEdgeDeviceFleetPolicy
aws iam attach-user-policy --user-name USER_NAME --policy-arn arn:aws:iam::aws:policy/service-role/AmazonSageMakerEdgeDeviceFleetPolicy
aws iam attach-group-policy --group-name GROUP_NAME --policy-arn arn:aws:iam::aws:policy/service-role/AmazonSageMakerEdgeDeviceFleetPolicyCloudFormation
Resources:
ExampleRole:
Type: AWS::IAM::Role
Properties:
AssumeRolePolicyDocument: {} # replace with your trust policy
ManagedPolicyArns:
- arn:aws:iam::aws:policy/service-role/AmazonSageMakerEdgeDeviceFleetPolicyTerraform
resource "aws_iam_role_policy_attachment" "service_role_amazonsagemakeredgedevicefleetpolicy" {
role = aws_iam_role.example.name
policy_arn = "arn:aws:iam::aws:policy/service-role/AmazonSageMakerEdgeDeviceFleetPolicy"
}CDK (TypeScript)
role.addManagedPolicy(
iam.ManagedPolicy.fromAwsManagedPolicyName("service-role/AmazonSageMakerEdgeDeviceFleetPolicy"),
);Sources
Pending editorial review. No editorial sources are listed yet.