Skip to main content
IAM Policy Map

AWSServiceRoleForIoTSiteWise

OperatorService-linked roleActivePermissions reviewedShow on mapCompare

Summary

Allows AWS IoT SiteWise to provision and manage gateways as well as query data. The policy includes required AWS Greengrass permissions for deploying to groups, AWS Lambda permissions for creating and updating service-prefixed functions, and AWS IoT Analytics permissions for querying data from datastores.

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

Identity

ARN
arn:aws:iam::aws:policy/aws-service-role/AWSServiceRoleForIoTSiteWise
Default version
v8
Created
Last edited
Services
greengrass, iottwinmaker, logs

Control-plane actions (12)

By access level: 2 List, 7 Read, 3 Write.

Control-plane actions by service
ServiceGrantedAccess levels and limitsGranted by
IoT Greengrass5 of 1125 Read; 0 restricted, 0 conditionalgreengrass:GetAssociatedRole, greengrass:GetCoreDefinition, greengrass:GetCoreDefinitionVersion, greengrass:GetGroup, greengrass:GetGroupVersion
IoT TwinMaker2 of 372 Read; 2 restricted, 2 conditionaliottwinmaker:ExecuteQuery, iottwinmaker:GetWorkspace
CloudWatch Logs5 of 1332 List, 3 Write; 5 restricted, 0 conditionallogs:CreateLogGroup, logs:CreateLogStream, logs:DescribeLogGroups, logs:DescribeLogStreams, logs:PutLogEvents
IoT Greengrass: 5 actions
  • greengrass:GetAssociatedRole (Read)
  • greengrass:GetCoreDefinition (Read)
  • greengrass:GetCoreDefinitionVersion (Read)
  • greengrass:GetGroup (Read)
  • greengrass:GetGroupVersion (Read)
IoT TwinMaker: 2 actions
  • iottwinmaker:ExecuteQuery (Read)
  • iottwinmaker:GetWorkspace (Read)
CloudWatch Logs: 5 actions
  • logs:CreateLogGroup (Write)
  • logs:CreateLogStream (Write)
  • logs:DescribeLogGroups (List)
  • logs:DescribeLogStreams (List)
  • logs:PutLogEvents (Write)

Data-plane actions (0)

By access level: none.

This policy grants no actions in this plane.

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: No (service-linked role policy).

Why this tier

  • Grants 3 write, tagging or permissions-management actions, short of full control of any service.

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": "AllowSiteWiseReadGreenGrass",
      "Effect": "Allow",
      "Action": [
        "greengrass:GetAssociatedRole",
        "greengrass:GetCoreDefinition",
        "greengrass:GetCoreDefinitionVersion",
        "greengrass:GetGroup",
        "greengrass:GetGroupVersion"
      ],
      "Resource": "*"
    },
    {
      "Sid": "AllowSiteWiseAccessLogGroup",
      "Effect": "Allow",
      "Action": [
        "logs:CreateLogGroup",
        "logs:DescribeLogGroups"
      ],
      "Resource": "arn:aws:logs:*:*:log-group:/aws/iotsitewise*"
    },
    {
      "Sid": "AllowSiteWiseAccessLog",
      "Effect": "Allow",
      "Action": [
        "logs:CreateLogStream",
        "logs:DescribeLogStreams",
        "logs:PutLogEvents"
      ],
      "Resource": "arn:aws:logs:*:*:log-group:/aws/iotsitewise*:log-stream:*"
    },
    {
      "Sid": "AllowSiteWiseAccessSiteWiseManagedWorkspaceInTwinMaker",
      "Effect": "Allow",
      "Action": [
        "iottwinmaker:GetWorkspace",
        "iottwinmaker:ExecuteQuery"
      ],
      "Resource": "arn:aws:iottwinmaker:*:*:workspace/*",
      "Condition": {
        "ForAnyValue:StringEquals": {
          "iottwinmaker:linkedServices": [
            "IOTSITEWISE"
          ]
        }
      }
    }
  ]
}

Version history

Current version v8, edited by AWS on 2023-11-13. Version history is recorded from 2026-11-11. Earlier versions are in the IAM console under Policy versions.

Attach snippets

This policy cannot be attached to users, groups or roles, so there are no attach snippets.

Sources

Pending editorial review. No editorial sources are listed yet.