Skip to main content
IAM Policy Map

AmazonDevOpsGuruServiceRolePolicy

OperatorService-linked roleActivePermissions reviewedShow on mapCompare

Summary

A service-linked role required for Amazon DevOpsGuru to access your resources.

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

Identity

ARN
arn:aws:iam::aws:policy/aws-service-role/AmazonDevOpsGuruServiceRolePolicy
Default version
v9
Created
Last edited
Services
apigateway, application-autoscaling, autoscaling, cloudformation, cloudtrail, cloudwatch, codedeploy, config, dynamodb, ec2, elasticloadbalancing, events, kinesis, lambda, logs, organizations, pi, rds, s3, servicequotas, sqs, ssm, tag, xray

Control-plane actions (77)

By access level: 28 List, 40 Read, 1 Tagging, 8 Write.

Control-plane actions by service
ServiceGrantedAccess levels and limitsGranted by
API Gateway1 of 441 Read; 1 restricted, 0 conditionalapigateway:GET
Application Auto Scaling2 of 142 Read; 0 restricted, 0 conditionalapplication-autoscaling:DescribeScalableTargets, application-autoscaling:DescribeScalingPolicies
EC2 Auto Scaling1 of 681 List; 0 restricted, 0 conditionalautoscaling:DescribeAutoScalingGroups
CloudFormation5 of 1044 List, 1 Read; 0 restricted, 0 conditionalcloudformation:DescribeStacks, cloudformation:GetTemplate, cloudformation:ListImports, cloudformation:ListStackResources, cloudformation:ListStacks
CloudTrail1 of 661 Read; 0 restricted, 0 conditionalcloudtrail:LookupEvents
CloudWatch4 of 1601 List, 3 Read; 0 restricted, 0 conditionalcloudwatch:DescribeAlarms, cloudwatch:DescribeAnomalyDetectors, cloudwatch:GetDashboard, cloudwatch:ListDashboards
CodeDeploy3 of 482 List, 1 Read; 0 restricted, 0 conditionalcodedeploy:BatchGetDeployments, codedeploy:GetDeploymentGroup, codedeploy:ListDeployments
Config2 of 1022 Read; 0 restricted, 0 conditionalconfig:DescribeConfigurationRecorderStatus, config:GetResourceConfigHistory
DynamoDB5 of 685 Read; 0 restricted, 0 conditionaldynamodb:DescribeContinuousBackups, dynamodb:DescribeLimits, dynamodb:DescribeStream, dynamodb:DescribeTable, dynamodb:ListStreams
EC21 of 8341 List; 0 restricted, 0 conditionalec2:DescribeSubnets
ELB2 of 771 List, 1 Read; 0 restricted, 0 conditionalelasticloadbalancing:DescribeLoadBalancerAttributes, elasticloadbalancing:DescribeLoadBalancers
EventBridge9 of 712 List, 1 Read, 6 Write; 8 restricted, 4 conditionalevents:DeleteRule, events:DescribeRule, events:DisableRule, events:EnableRule, events:ListRuleNamesByTarget, events:ListTargetsByRule, events:PutRule, events:PutTargets, events:RemoveTargets
Kinesis2 of 422 Read; 0 restricted, 0 conditionalkinesis:DescribeLimits, kinesis:DescribeStream
Lambda7 of 1213 List, 4 Read; 0 restricted, 0 conditionallambda:GetAccountSettings, lambda:GetFunction, lambda:GetFunctionConcurrency, lambda:GetPolicy, lambda:ListAliases, lambda:ListEventSourceMappings, lambda:ListProvisionedConcurrencyConfigs
CloudWatch Logs3 of 1332 List, 1 Read; 1 restricted, 1 conditionallogs:DescribeLogGroups, logs:DescribeLogStreams, logs:FilterLogEvents
Organizations3 of 633 List; 0 restricted, 0 conditionalorganizations:ListChildren, organizations:ListDelegatedAdministrators, organizations:ListRoots
Performance Insights1 of 141 Read; 0 restricted, 0 conditionalpi:GetResourceMetrics
RDS6 of 1736 List; 0 restricted, 0 conditionalrds:DescribeAccountAttributes, rds:DescribeDBClusterParameters, rds:DescribeDBClusters, rds:DescribeDBInstanceAutomatedBackups, rds:DescribeDBInstances, rds:DescribeOptionGroups
S310 of 1552 List, 8 Read; 0 restricted, 0 conditionals3:GetBucketNotification, s3:GetBucketPolicy, s3:GetBucketPublicAccessBlock, s3:GetBucketTagging, s3:GetBucketWebsite, s3:GetIntelligentTieringConfiguration, s3:GetLifecycleConfiguration, s3:GetReplicationConfiguration, s3:ListAllMyBuckets, s3:ListStorageLensConfigurations
Service Quotas3 of 263 Read; 0 restricted, 0 conditionalservicequotas:GetServiceQuota, servicequotas:ListRequestedServiceQuotaChangeHistory, servicequotas:ListServiceQuotas
SQS1 of 201 Read; 0 restricted, 0 conditionalsqs:GetQueueAttributes
Systems Manager4 of 1641 Read, 1 Tagging, 2 Write; 3 restricted, 2 conditionalssm:AddTagsToResource, ssm:CreateOpsItem, ssm:GetOpsItem, ssm:UpdateOpsItem
Resource Group Tagging1 of 91 Read; 0 restricted, 0 conditionaltag:GetResources
API Gateway: 1 actions
  • apigateway:GET (Read)
Application Auto Scaling: 2 actions
  • application-autoscaling:DescribeScalableTargets (Read)
  • application-autoscaling:DescribeScalingPolicies (Read)
EC2 Auto Scaling: 1 actions
  • autoscaling:DescribeAutoScalingGroups (List)
CloudFormation: 5 actions
  • cloudformation:DescribeStacks (List)
  • cloudformation:GetTemplate (Read)
  • cloudformation:ListImports (List)
  • cloudformation:ListStackResources (List)
  • cloudformation:ListStacks (List)
CloudTrail: 1 actions
  • cloudtrail:LookupEvents (Read)
CloudWatch: 4 actions
  • cloudwatch:DescribeAlarms (Read)
  • cloudwatch:DescribeAnomalyDetectors (Read)
  • cloudwatch:GetDashboard (Read)
  • cloudwatch:ListDashboards (List)
CodeDeploy: 3 actions
  • codedeploy:BatchGetDeployments (Read)
  • codedeploy:GetDeploymentGroup (List)
  • codedeploy:ListDeployments (List)
Config: 2 actions
  • config:DescribeConfigurationRecorderStatus (Read)
  • config:GetResourceConfigHistory (Read)
DynamoDB: 5 actions
  • dynamodb:DescribeContinuousBackups (Read)
  • dynamodb:DescribeLimits (Read)
  • dynamodb:DescribeStream (Read)
  • dynamodb:DescribeTable (Read)
  • dynamodb:ListStreams (Read)
EC2: 1 actions
  • ec2:DescribeSubnets (List)
ELB: 2 actions
  • elasticloadbalancing:DescribeLoadBalancerAttributes (Read)
  • elasticloadbalancing:DescribeLoadBalancers (List)
EventBridge: 9 actions
  • events:DeleteRule (Write)
  • events:DescribeRule (Read)
  • events:DisableRule (Write)
  • events:EnableRule (Write)
  • events:ListRuleNamesByTarget (List)
  • events:ListTargetsByRule (List)
  • events:PutRule (Write)
  • events:PutTargets (Write)
  • events:RemoveTargets (Write)
Kinesis: 2 actions
  • kinesis:DescribeLimits (Read)
  • kinesis:DescribeStream (Read)
Lambda: 7 actions
  • lambda:GetAccountSettings (Read)
  • lambda:GetFunction (Read)
  • lambda:GetFunctionConcurrency (Read)
  • lambda:GetPolicy (Read)
  • lambda:ListAliases (List)
  • lambda:ListEventSourceMappings (List)
  • lambda:ListProvisionedConcurrencyConfigs (List)
CloudWatch Logs: 3 actions
  • logs:DescribeLogGroups (List)
  • logs:DescribeLogStreams (List)
  • logs:FilterLogEvents (Read)
Organizations: 3 actions
  • organizations:ListChildren (List)
  • organizations:ListDelegatedAdministrators (List)
  • organizations:ListRoots (List)
Performance Insights: 1 actions
  • pi:GetResourceMetrics (Read)
RDS: 6 actions
  • rds:DescribeAccountAttributes (List)
  • rds:DescribeDBClusterParameters (List)
  • rds:DescribeDBClusters (List)
  • rds:DescribeDBInstanceAutomatedBackups (List)
  • rds:DescribeDBInstances (List)
  • rds:DescribeOptionGroups (List)
S3: 10 actions
  • s3:GetBucketNotification (Read)
  • s3:GetBucketPolicy (Read)
  • s3:GetBucketPublicAccessBlock (Read)
  • s3:GetBucketTagging (Read)
  • s3:GetBucketWebsite (Read)
  • s3:GetIntelligentTieringConfiguration (Read)
  • s3:GetLifecycleConfiguration (Read)
  • s3:GetReplicationConfiguration (Read)
  • s3:ListAllMyBuckets (List)
  • s3:ListStorageLensConfigurations (List)
Service Quotas: 3 actions
  • servicequotas:GetServiceQuota (Read)
  • servicequotas:ListRequestedServiceQuotaChangeHistory (Read)
  • servicequotas:ListServiceQuotas (Read)
SQS: 1 actions
  • sqs:GetQueueAttributes (Read)
Systems Manager: 4 actions
  • ssm:AddTagsToResource (Tagging)
  • ssm:CreateOpsItem (Write)
  • ssm:GetOpsItem (Read)
  • ssm:UpdateOpsItem (Write)
Resource Group Tagging: 1 actions
  • tag:GetResources (Read)

Data-plane actions (3)

By access level: 1 List, 2 Read.

Data-plane actions by service
ServiceGrantedAccess levels and limitsGranted by
CloudWatch2 of 51 List, 1 Read; 0 restricted, 0 conditionalcloudwatch:GetMetricData, cloudwatch:ListMetrics
X-Ray1 of 121 Read; 0 restricted, 0 conditionalxray:GetServiceGraph
CloudWatch: 2 actions
  • cloudwatch:GetMetricData (Read)
  • cloudwatch:ListMetrics (List)
X-Ray: 1 actions
  • xray:GetServiceGraph (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 9 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": [
    {
      "Effect": "Allow",
      "Action": [
        "autoscaling:DescribeAutoScalingGroups",
        "cloudtrail:LookupEvents",
        "cloudwatch:GetMetricData",
        "cloudwatch:ListMetrics",
        "cloudwatch:DescribeAnomalyDetectors",
        "cloudwatch:DescribeAlarms",
        "cloudwatch:ListDashboards",
        "cloudwatch:GetDashboard",
        "cloudformation:GetTemplate",
        "cloudformation:ListStacks",
        "cloudformation:ListStackResources",
        "cloudformation:DescribeStacks",
        "cloudformation:ListImports",
        "codedeploy:BatchGetDeployments",
        "codedeploy:GetDeploymentGroup",
        "codedeploy:ListDeployments",
        "config:DescribeConfigurationRecorderStatus",
        "config:GetResourceConfigHistory",
        "events:ListRuleNamesByTarget",
        "xray:GetServiceGraph",
        "organizations:ListRoots",
        "organizations:ListChildren",
        "organizations:ListDelegatedAdministrators",
        "pi:GetResourceMetrics",
        "tag:GetResources",
        "lambda:GetFunction",
        "lambda:GetFunctionConcurrency",
        "lambda:GetAccountSettings",
        "lambda:ListProvisionedConcurrencyConfigs",
        "lambda:ListAliases",
        "lambda:ListEventSourceMappings",
        "lambda:GetPolicy",
        "ec2:DescribeSubnets",
        "application-autoscaling:DescribeScalableTargets",
        "application-autoscaling:DescribeScalingPolicies",
        "sqs:GetQueueAttributes",
        "kinesis:DescribeStream",
        "kinesis:DescribeLimits",
        "dynamodb:DescribeTable",
        "dynamodb:DescribeLimits",
        "dynamodb:DescribeContinuousBackups",
        "dynamodb:DescribeStream",
        "dynamodb:ListStreams",
        "elasticloadbalancing:DescribeLoadBalancers",
        "elasticloadbalancing:DescribeLoadBalancerAttributes",
        "rds:DescribeDBInstances",
        "rds:DescribeDBClusters",
        "rds:DescribeOptionGroups",
        "rds:DescribeDBClusterParameters",
        "rds:DescribeDBInstanceAutomatedBackups",
        "rds:DescribeAccountAttributes",
        "logs:DescribeLogGroups",
        "logs:DescribeLogStreams",
        "s3:GetBucketNotification",
        "s3:GetBucketPolicy",
        "s3:GetBucketPublicAccessBlock",
        "s3:GetBucketTagging",
        "s3:GetBucketWebsite",
        "s3:GetIntelligentTieringConfiguration",
        "s3:GetLifecycleConfiguration",
        "s3:GetReplicationConfiguration",
        "s3:ListAllMyBuckets",
        "s3:ListStorageLensConfigurations",
        "servicequotas:GetServiceQuota",
        "servicequotas:ListRequestedServiceQuotaChangeHistory",
        "servicequotas:ListServiceQuotas"
      ],
      "Resource": "*"
    },
    {
      "Sid": "AllowPutTargetsOnASpecificRule",
      "Effect": "Allow",
      "Action": [
        "events:PutTargets",
        "events:PutRule"
      ],
      "Resource": "arn:aws:events:*:*:rule/DevOps-Guru-managed-*"
    },
    {
      "Sid": "AllowCreateOpsItem",
      "Effect": "Allow",
      "Action": [
        "ssm:CreateOpsItem"
      ],
      "Resource": "*"
    },
    {
      "Sid": "AllowAddTagsToOpsItem",
      "Effect": "Allow",
      "Action": [
        "ssm:AddTagsToResource"
      ],
      "Resource": "arn:aws:ssm:*:*:opsitem/*"
    },
    {
      "Sid": "AllowAccessOpsItem",
      "Effect": "Allow",
      "Action": [
        "ssm:GetOpsItem",
        "ssm:UpdateOpsItem"
      ],
      "Resource": "*",
      "Condition": {
        "StringEquals": {
          "aws:ResourceTag/DevOps-GuruInsightSsmOpsItemRelated": "true"
        }
      }
    },
    {
      "Sid": "AllowCreateManagedRule",
      "Effect": "Allow",
      "Action": "events:PutRule",
      "Resource": "arn:aws:events:*:*:rule/DevOpsGuruManagedRule*"
    },
    {
      "Sid": "AllowAccessManagedRule",
      "Effect": "Allow",
      "Action": [
        "events:DescribeRule",
        "events:ListTargetsByRule"
      ],
      "Resource": "arn:aws:events:*:*:rule/DevOpsGuruManagedRule*"
    },
    {
      "Sid": "AllowOtherOperationsOnManagedRule",
      "Effect": "Allow",
      "Action": [
        "events:DeleteRule",
        "events:EnableRule",
        "events:DisableRule",
        "events:PutTargets",
        "events:RemoveTargets"
      ],
      "Resource": "arn:aws:events:*:*:rule/DevOpsGuruManagedRule*",
      "Condition": {
        "StringEquals": {
          "events:ManagedBy": "devops-guru.amazonaws.com"
        }
      }
    },
    {
      "Sid": "AllowTagBasedFilterLogEvents",
      "Effect": "Allow",
      "Action": [
        "logs:FilterLogEvents"
      ],
      "Resource": "arn:aws:logs:*:*:log-group:*",
      "Condition": {
        "StringEquals": {
          "aws:ResourceTag/DevOps-Guru-Analysis": "true"
        }
      }
    },
    {
      "Sid": "AllowAPIGatewayGetIntegrations",
      "Effect": "Allow",
      "Action": "apigateway:GET",
      "Resource": [
        "arn:aws:apigateway:*::/restapis/??????????",
        "arn:aws:apigateway:*::/restapis/*/resources",
        "arn:aws:apigateway:*::/restapis/*/resources/*/methods/*/integration"
      ]
    }
  ]
}

Version history

Current version v9, edited by AWS on 2023-01-10. 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.