AmazonInspector2ThirdPartyServiceRolePolicy
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.
| Service | Granted | Access levels and limits | Granted by |
|---|---|---|---|
| Config | 5 of 102 | 1 List, 2 Read, 2 Write; 3 restricted, 3 conditional | config:DeleteServiceLinkedConfigurationRecorder, config:DescribeConfigurationRecorders, config:GetConnector, config:ListConfigurationRecorders, config:PutThirdPartyServiceLinkedConfigurationRecorder |
| IAM | 3 of 190 | 1 Read, 2 Write; 3 restricted, 2 conditional | iam:CreateServiceLinkedRole, iam:GetRole, iam:PassRole |
| Resource Explorer | 4 of 37 | 1 List, 1 Read, 2 Write; 1 restricted, 0 conditional | resource-explorer-2:CreateStreamingAccessForService, resource-explorer-2:DeleteStreamingAccessForService, resource-explorer-2:ListStreamingAccessForServices, resource-explorer-2:Search |
| Systems Manager | 22 of 164 | 3 List, 8 Read, 2 Tagging, 9 Write; 19 restricted, 9 conditional | ssm: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 |
| STS | 1 of 16 | 1 Write; 1 restricted, 1 conditional | sts: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.
| Service | Granted | Access levels and limits | Granted by |
|---|---|---|---|
| CloudWatch | 1 of 5 | 1 Read; 0 restricted, 0 conditional | cloudwatch: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.
Related policies
Same service
- AIOpsOperatorAccess
- AmazonEC2ImageReferencesAccessPolicy
- AmazonEC2RoleforSSM
- AmazonEKSConnectorServiceRolePolicy
- AmazonEKSLocalOutpostClusterPolicy
- AmazonElasticFileSystemsUtils
- AmazonGuardDutyServiceRolePolicy
- AmazonInspector2ServiceRolePolicy
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": "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.