Skip to main content
IAM Policy Map

AWSIoTDeviceTesterForGreengrassFullAccess

AdminAWS managedActivePermissions reviewedShow on mapCompare

Summary

Allows AWS IoT Device Tester to run the AWS Greengrass qualification suite by allowing access to related services including Lambda, IoT, API Gateway, IAM

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

Identity

ARN
arn:aws:iam::aws:policy/AWSIoTDeviceTesterForGreengrassFullAccess
Default version
v4
Created
Last edited
Services
execute-api, greengrass, iam, iot, iot-device-tester, lambda, s3

Control-plane actions (144)

By access level: 28 List, 5 Permissions management, 40 Read, 2 Tagging, 69 Write.

Control-plane actions by service
ServiceGrantedAccess levels and limitsGranted by
ExecuteAPI1 of 31 Write; 1 restricted, 0 conditionalexecute-api:Invoke
IoT GreengrassAll 112 actions (see the IoT Greengrass page)26 List, 1 Permissions management, 32 Read, 2 Tagging, 51 Write; 0 restricted, 0 conditionalgreengrass:*
IAM2 of 1901 List, 1 Write; 1 restricted, 1 conditionaliam:ListAttachedRolePolicies, iam:PassRole
IoT20 of 2931 List, 4 Permissions management, 4 Read, 11 Write; 13 restricted, 0 conditionaliot:AttachPolicy, iot:AttachThingPrincipal, iot:CreateCertificateFromCsr, iot:CreateJob, iot:CreateKeysAndCertificate, iot:CreatePolicy, iot:CreateThing, iot:DeleteCertificate, iot:DeleteJob, iot:DeletePolicy, iot:DeleteThing, iot:DescribeEndpoint and 8 more
IoT Device TesterAll 5 actions (see the IoT Device Tester page)4 Read, 1 Write; 0 restricted, 0 conditionaliot-device-tester:CheckVersion, iot-device-tester:DownloadTestSuite, iot-device-tester:LatestIdt, iot-device-tester:SendMetrics, iot-device-tester:SupportedVersion
Lambda2 of 1212 Write; 2 restricted, 0 conditionallambda:CreateFunction, lambda:DeleteFunction
S32 of 1552 Write; 2 restricted, 0 conditionals3:CreateBucket, s3:DeleteBucket
ExecuteAPI: 1 actions
  • execute-api:Invoke (Write)
IAM: 2 actions
  • iam:ListAttachedRolePolicies (List)
  • iam:PassRole (Write)
IoT: 20 actions
  • iot:AttachPolicy (Permissions management)
  • iot:AttachThingPrincipal (Write)
  • iot:CreateCertificateFromCsr (Write)
  • iot:CreateJob (Write)
  • iot:CreateKeysAndCertificate (Write)
  • iot:CreatePolicy (Permissions management)
  • iot:CreateThing (Write)
  • iot:DeleteCertificate (Write)
  • iot:DeleteJob (Write)
  • iot:DeletePolicy (Permissions management)
  • iot:DeleteThing (Write)
  • iot:DescribeEndpoint (Read)
  • iot:DescribeJob (Read)
  • iot:DescribeJobExecution (Read)
  • iot:DetachPolicy (Permissions management)
  • iot:DetachThingPrincipal (Write)
  • iot:GetThingShadow (Read)
  • iot:ListThings (List)
  • iot:UpdateCertificate (Write)
  • iot:UpdateThingShadow (Write)
Lambda: 2 actions
  • lambda:CreateFunction (Write)
  • lambda:DeleteFunction (Write)
S3: 2 actions
  • s3:CreateBucket (Write)
  • s3:DeleteBucket (Write)

Data-plane actions (4)

By access level: 1 List, 3 Write.

Data-plane actions by service
ServiceGrantedAccess levels and limitsGranted by
S34 of 251 List, 3 Write; 4 restricted, 0 conditionals3:DeleteObject, s3:DeleteObjectVersion, s3:ListBucketVersions, s3:PutObject
S3: 4 actions
  • s3:DeleteObject (Write)
  • s3:DeleteObjectVersion (Write)
  • s3:ListBucketVersions (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 at least 80% of the write and permissions-management actions of: greengrass (52 of 52).
  • 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.

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": "VisualEditor1",
      "Effect": "Allow",
      "Action": "iam:PassRole",
      "Resource": "arn:aws:iam::*:role/idt-*",
      "Condition": {
        "StringEquals": {
          "iam:PassedToService": [
            "iot.amazonaws.com",
            "lambda.amazonaws.com",
            "greengrass.amazonaws.com"
          ]
        }
      }
    },
    {
      "Sid": "VisualEditor2",
      "Effect": "Allow",
      "Action": [
        "lambda:CreateFunction",
        "iot:DeleteCertificate",
        "lambda:DeleteFunction",
        "execute-api:Invoke",
        "iot:UpdateCertificate"
      ],
      "Resource": [
        "arn:aws:execute-api:us-east-1:098862408343:9xpmnvs5h4/prod/POST/metrics",
        "arn:aws:lambda:*:*:function:idt-*",
        "arn:aws:iot:*:*:cert/*"
      ]
    },
    {
      "Sid": "VisualEditor3",
      "Effect": "Allow",
      "Action": [
        "iot:CreateThing",
        "iot:DeleteThing"
      ],
      "Resource": [
        "arn:aws:iot:*:*:thing/idt-*",
        "arn:aws:iot:*:*:cert/*"
      ]
    },
    {
      "Sid": "VisualEditor4",
      "Effect": "Allow",
      "Action": [
        "iot:AttachPolicy",
        "iot:DetachPolicy",
        "iot:DeletePolicy"
      ],
      "Resource": [
        "arn:aws:iot:*:*:policy/idt-*",
        "arn:aws:iot:*:*:cert/*"
      ]
    },
    {
      "Sid": "VisualEditor5",
      "Effect": "Allow",
      "Action": [
        "iot:CreateJob",
        "iot:DescribeJob",
        "iot:DescribeJobExecution",
        "iot:DeleteJob"
      ],
      "Resource": [
        "arn:aws:iot:*:*:thing/idt-*",
        "arn:aws:iot:*:*:job/*"
      ]
    },
    {
      "Sid": "VisualEditor6",
      "Effect": "Allow",
      "Action": [
        "iot:DescribeEndpoint",
        "greengrass:*",
        "iam:ListAttachedRolePolicies",
        "iot:CreatePolicy",
        "iot:GetThingShadow",
        "iot:CreateKeysAndCertificate",
        "iot:ListThings",
        "iot:UpdateThingShadow",
        "iot:CreateCertificateFromCsr",
        "iot-device-tester:SendMetrics",
        "iot-device-tester:SupportedVersion",
        "iot-device-tester:LatestIdt",
        "iot-device-tester:CheckVersion",
        "iot-device-tester:DownloadTestSuite"
      ],
      "Resource": "*"
    },
    {
      "Sid": "VisualEditor7",
      "Effect": "Allow",
      "Action": [
        "iot:DetachThingPrincipal",
        "iot:AttachThingPrincipal"
      ],
      "Resource": [
        "arn:aws:iot:*:*:thing/idt-*",
        "arn:aws:iot:*:*:cert/*"
      ]
    },
    {
      "Sid": "VisualEditor8",
      "Effect": "Allow",
      "Action": [
        "s3:PutObject",
        "s3:DeleteObjectVersion",
        "s3:ListBucketVersions",
        "s3:CreateBucket",
        "s3:DeleteObject",
        "s3:DeleteBucket"
      ],
      "Resource": "arn:aws:s3:::idt*"
    }
  ]
}

Version history

Current version v4, edited by AWS on 2020-06-25. 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/AWSIoTDeviceTesterForGreengrassFullAccess
aws iam attach-user-policy --user-name USER_NAME --policy-arn arn:aws:iam::aws:policy/AWSIoTDeviceTesterForGreengrassFullAccess
aws iam attach-group-policy --group-name GROUP_NAME --policy-arn arn:aws:iam::aws:policy/AWSIoTDeviceTesterForGreengrassFullAccess

CloudFormation

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

Terraform

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

CDK (TypeScript)

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

Sources

Pending editorial review. No editorial sources are listed yet.