Skip to main content
IAM Policy Map

AmazonInspector2ThirdPartyServiceRolePolicy

OperatorService-linked roleActivePermissions reviewedShow on mapCompare

Summary

Grants permissions for Amazon Inspector to perform actions on your behalf for multi-cloud resource scanning.

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

Identity

ARN
arn:aws:iam::aws:policy/aws-service-role/AmazonInspector2ThirdPartyServiceRolePolicy
Default version
v2
Created
Last edited
Services
cloudwatch, config, iam, resource-explorer-2, ssm, sts

Control-plane actions (35)

By access level: 5 List, 12 Read, 2 Tagging, 16 Write.

Control-plane actions by service
ServiceGrantedAccess levels and limitsGranted by
Config5 of 1021 List, 2 Read, 2 Write; 3 restricted, 3 conditionalconfig:DeleteServiceLinkedConfigurationRecorder, config:DescribeConfigurationRecorders, config:GetConnector, config:ListConfigurationRecorders, config:PutThirdPartyServiceLinkedConfigurationRecorder
IAM3 of 1901 Read, 2 Write; 3 restricted, 2 conditionaliam:CreateServiceLinkedRole, iam:GetRole, iam:PassRole
Resource Explorer4 of 371 List, 1 Read, 2 Write; 1 restricted, 0 conditionalresource-explorer-2:CreateStreamingAccessForService, resource-explorer-2:DeleteStreamingAccessForService, resource-explorer-2:ListStreamingAccessForServices, resource-explorer-2:Search
Systems Manager22 of 1643 List, 8 Read, 2 Tagging, 9 Write; 19 restricted, 9 conditionalssm:AddTagsToResource, ssm:CreateAssociation, ssm:CreateCloudConnector, ssm:DeleteAssociation, ssm:DeleteCloudConnector, ssm:DescribeAssociation, ssm:DescribeAssociationExecutionTargets, ssm:DescribeAssociationExecutions, ssm:DescribeAutomationExecutions, ssm:DescribeAutomationStepExecutions, ssm:GetAutomationExecution, ssm:GetCloudConnector and 10 more
STS1 of 161 Write; 1 restricted, 1 conditionalsts:GetWebIdentityToken
Config: 5 actions
  • config:DeleteServiceLinkedConfigurationRecorder (Write)
  • config:DescribeConfigurationRecorders (Read)
  • config:GetConnector (Read)
  • config:ListConfigurationRecorders (List)
  • config:PutThirdPartyServiceLinkedConfigurationRecorder (Write)
IAM: 3 actions
  • iam:CreateServiceLinkedRole (Write)
  • iam:GetRole (Read)
  • iam:PassRole (Write)
Resource Explorer: 4 actions
  • resource-explorer-2:CreateStreamingAccessForService (Write)
  • resource-explorer-2:DeleteStreamingAccessForService (Write)
  • resource-explorer-2:ListStreamingAccessForServices (List)
  • resource-explorer-2:Search (Read)
Systems Manager: 22 actions
  • ssm:AddTagsToResource (Tagging)
  • ssm:CreateAssociation (Write)
  • ssm:CreateCloudConnector (Write)
  • ssm:DeleteAssociation (Write)
  • ssm:DeleteCloudConnector (Write)
  • ssm:DescribeAssociation (Read)
  • ssm:DescribeAssociationExecutionTargets (Read)
  • ssm:DescribeAssociationExecutions (Read)
  • ssm:DescribeAutomationExecutions (Read)
  • ssm:DescribeAutomationStepExecutions (Read)
  • ssm:GetAutomationExecution (Read)
  • ssm:GetCloudConnector (Read)
  • ssm:GetDocument (Read)
  • ssm:ListAssociations (List)
  • ssm:ListCloudConnectors (List)
  • ssm:ListTagsForResource (List)
  • ssm:RemoveTagsFromResource (Tagging)
  • ssm:StartAssociationsOnce (Write)
  • ssm:StartAutomationExecution (Write)
  • ssm:StopAutomationExecution (Write)
  • ssm:UpdateAssociation (Write)
  • ssm:UpdateCloudConnector (Write)
STS: 1 actions
  • sts:GetWebIdentityToken (Write)

Data-plane actions (1)

By access level: 1 Read.

Data-plane actions by service
ServiceGrantedAccess levels and limitsGranted by
CloudWatch1 of 51 Read; 0 restricted, 0 conditionalcloudwatch:GetMetricData
CloudWatch: 1 actions
  • cloudwatch:GetMetricData (Read)

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 18 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.

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": "MultiCloudResourceDiscovery",
      "Effect": "Allow",
      "Action": [
        "resource-explorer-2:Search"
      ],
      "Resource": "arn:aws:resource-explorer-2:*:*:view/ServiceViewForInspector*/service-view"
    },
    {
      "Sid": "MultiCloudStreamingAccess",
      "Effect": "Allow",
      "Action": [
        "resource-explorer-2:CreateStreamingAccessForService",
        "resource-explorer-2:ListStreamingAccessForServices",
        "resource-explorer-2:DeleteStreamingAccessForService"
      ],
      "Resource": "*"
    },
    {
      "Sid": "MultiCloudSsmAssociationWrite",
      "Effect": "Allow",
      "Action": [
        "ssm:CreateAssociation",
        "ssm:UpdateAssociation",
        "ssm:DeleteAssociation",
        "ssm:StartAssociationsOnce"
      ],
      "Resource": [
        "arn:aws:ssm:*:*:document/AWS-InstallDistributorPackageOnAzure*",
        "arn:aws:ssm:*:*:document/AWS-InstallDistributorPackageOnGcp*",
        "arn:aws:ssm:*:*:association/*"
      ]
    },
    {
      "Sid": "MultiCloudSsmAssociationDescribe",
      "Effect": "Allow",
      "Action": [
        "ssm:DescribeAssociation"
      ],
      "Resource": "arn:aws:ssm:*:*:association/*"
    },
    {
      "Sid": "MultiCloudSsmAssociationList",
      "Effect": "Allow",
      "Action": [
        "ssm:ListAssociations",
        "ssm:DescribeAssociationExecutions",
        "ssm:DescribeAssociationExecutionTargets"
      ],
      "Resource": "*"
    },
    {
      "Sid": "MultiCloudSsmGetDocument",
      "Effect": "Allow",
      "Action": [
        "ssm:GetDocument"
      ],
      "Resource": [
        "arn:aws:ssm:*:*:document/AmazonInspector2-*",
        "arn:aws:ssm:*:*:document/AWS-InstallDistributorPackageOnAzure*",
        "arn:aws:ssm:*:*:document/AWS-InstallDistributorPackageOnGcp*"
      ],
      "Condition": {
        "StringEquals": {
          "aws:ResourceAccount": "${aws:PrincipalAccount}"
        }
      }
    },
    {
      "Sid": "MultiCloudSsmAutomation",
      "Effect": "Allow",
      "Action": [
        "ssm:StartAutomationExecution",
        "ssm:GetAutomationExecution",
        "ssm:DescribeAutomationExecutions",
        "ssm:DescribeAutomationStepExecutions",
        "ssm:StopAutomationExecution"
      ],
      "Resource": [
        "arn:aws:ssm:*:*:document/AWS-InstallDistributorPackageOnAzure*",
        "arn:aws:ssm:*:*:document/AWS-InstallDistributorPackageOnGcp*",
        "arn:aws:ssm:*:*:automation-execution/*"
      ]
    },
    {
      "Sid": "MultiCloudCloudConnectorManagement",
      "Effect": "Allow",
      "Action": [
        "ssm:CreateCloudConnector",
        "ssm:UpdateCloudConnector",
        "ssm:DeleteCloudConnector",
        "ssm:GetCloudConnector",
        "ssm:ListCloudConnectors",
        "ssm:AddTagsToResource",
        "ssm:RemoveTagsFromResource",
        "ssm:ListTagsForResource"
      ],
      "Resource": "arn:aws:ssm:*:*:cloud-connector/*",
      "Condition": {
        "StringEquals": {
          "aws:ResourceAccount": "${aws:PrincipalAccount}"
        }
      }
    },
    {
      "Sid": "MultiCloudSsmPassRole",
      "Effect": "Allow",
      "Action": "iam:PassRole",
      "Resource": [
        "arn:aws:iam::*:role/Inspector2SSMFederationRole*",
        "arn:aws:iam::*:role/Inspector2SSMDispatchRole*",
        "arn:aws:iam::*:role/Inspector2SSMAssumeRole*",
        "arn:aws:iam::*:role/Inspector2VmScannerRole*"
      ],
      "Condition": {
        "StringEquals": {
          "iam:PassedToService": "ssm.amazonaws.com"
        }
      }
    },
    {
      "Sid": "MultiCloudIamGetRole",
      "Effect": "Allow",
      "Action": "iam:GetRole",
      "Resource": [
        "arn:aws:iam::*:role/Inspector2SSMFederationRole*",
        "arn:aws:iam::*:role/Inspector2SSMDispatchRole*",
        "arn:aws:iam::*:role/Inspector2SSMAssumeRole*",
        "arn:aws:iam::*:role/Inspector2VmScannerRole*"
      ]
    },
    {
      "Sid": "MultiCloudConfigSLRecWrite",
      "Effect": "Allow",
      "Action": [
        "config:PutThirdPartyServiceLinkedConfigurationRecorder",
        "config:DeleteServiceLinkedConfigurationRecorder",
        "config:DescribeConfigurationRecorders"
      ],
      "Resource": "*",
      "Condition": {
        "StringEquals": {
          "aws:ResourceAccount": "${aws:PrincipalAccount}"
        }
      }
    },
    {
      "Sid": "MultiCloudConfigConnectorRead",
      "Effect": "Allow",
      "Action": [
        "config:ListConfigurationRecorders",
        "config:GetConnector"
      ],
      "Resource": "*"
    },
    {
      "Sid": "MultiCloudConfigMetrics",
      "Effect": "Allow",
      "Action": [
        "cloudwatch:GetMetricData"
      ],
      "Resource": "*"
    },
    {
      "Sid": "AllowGetWebIdentityToken",
      "Effect": "Allow",
      "Action": "sts:GetWebIdentityToken",
      "Resource": "*",
      "Condition": {
        "Null": {
          "sts:IdentityTokenAudience": "false"
        },
        "ForAnyValue:StringLike": {
          "sts:IdentityTokenAudience": [
            "api://AzureADTokenExchange",
            "https://sts.googleapis.com"
          ]
        }
      }
    },
    {
      "Sid": "MultiCloudSsmSLRCreation",
      "Effect": "Allow",
      "Action": "iam:CreateServiceLinkedRole",
      "Resource": [
        "arn:aws:iam::*:role/aws-service-role/ssm.amazonaws.com/AWSServiceRoleForAmazonSSM"
      ],
      "Condition": {
        "StringEquals": {
          "aws:ResourceAccount": "${aws:PrincipalAccount}"
        }
      }
    }
  ]
}

Version history

Current version v2, edited by AWS on 2026-10-27. 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.