AmazonDevOpsGuruServiceRolePolicy

Last Modified

Mar 12, 2026

March 12, 2026 at 09:27 PM UTC

Version

v9

Total Versions

10

Created

Jan 10, 2023

Actions

82

Policy Document

View on GitHub
{
  "PolicyVersion": {
    "Document": {
      "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"
          ]
        }
      ]
    },
    "VersionId": "v9",
    "IsDefaultVersion": true,
    "CreateDate": "2023-01-10T14:36:48+00:00"
  }
}

Version History (13 recorded)

Raw history

AmazonDevOpsGuruServiceRolePolicy - Policy Version v9

No recorded action delta - this version predates the change index. View the raw diff.

Mar 12, 2026

449b764

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Sep 18, 2024

aafbae9

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

May 13, 2024

1b36617

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Jan 10, 2023

9db3494

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Oct 19, 2022

1c61f1c

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Jul 8, 2022

f24fb71

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Jul 8, 2022

1051ccd

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Feb 7, 2022

8d921fd

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Nov 24, 2021

d53ae88

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Nov 15, 2021

a680bcf

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Nov 2, 2021

d6565ff

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Apr 22, 2021

9b34528

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Dec 1, 2020

310ac54