Skip to main content
IAM Policy Map

CloudWatchOpenSearchDashboardsFullAccess

OperatorAWS managedActivePermissions reviewedShow on mapCompare

Summary

This policy provides user access to create integration with OpenSearch to create, update, delete or view dashboards on the CloudWatch Logs console.

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

Identity

ARN
arn:aws:iam::aws:policy/CloudWatchOpenSearchDashboardsFullAccess
Default version
v3
Created
Last edited
Services
aoss, es, iam, logs, opensearch

Control-plane actions (34)

By access level: 5 List, 1 Permissions management, 8 Read, 2 Tagging, 18 Write.

Control-plane actions by service
ServiceGrantedAccess levels and limitsGranted by
OpenSearch Serverless14 of 574 Read, 1 Tagging, 9 Write; 14 restricted, 14 conditionalaoss:APIAccessAll, aoss:BatchGetCollection, aoss:BatchGetLifecyclePolicy, aoss:CreateAccessPolicy, aoss:CreateCollection, aoss:CreateLifecyclePolicy, aoss:CreateSecurityPolicy, aoss:DeleteAccessPolicy, aoss:DeleteCollection, aoss:DeleteLifecyclePolicy, aoss:DeleteSecurityPolicy, aoss:GetAccessPolicy and 2 more
OpenSearch Service8 of 1381 List, 2 Read, 1 Tagging, 4 Write; 8 restricted, 8 conditionales:AddDirectQueryDataSource, es:AddTags, es:CreateApplication, es:DeleteDirectQueryDataSource, es:GetApplication, es:GetDirectQueryDataSource, es:ListApplications, es:UpdateApplication
IAM4 of 1902 List, 2 Write; 2 restricted, 2 conditionaliam:CreateServiceLinkedRole, iam:ListRoles, iam:ListUsers, iam:PassRole
CloudWatch Logs5 of 1332 List, 1 Read, 2 Write; 0 restricted, 0 conditionallogs:DeleteIntegration, logs:DescribeLogGroups, logs:GetIntegration, logs:ListIntegrations, logs:PutIntegration
OpenSearch3 of 111 Permissions management, 1 Read, 1 Write; 2 restricted, 0 conditionalopensearch:ApplicationAccessAll, opensearch:GetDirectQuery, opensearch:StartDirectQuery
OpenSearch Serverless: 14 actions
  • aoss:APIAccessAll (Write)
  • aoss:BatchGetCollection (Read)
  • aoss:BatchGetLifecyclePolicy (Read)
  • aoss:CreateAccessPolicy (Write)
  • aoss:CreateCollection (Write)
  • aoss:CreateLifecyclePolicy (Write)
  • aoss:CreateSecurityPolicy (Write)
  • aoss:DeleteAccessPolicy (Write)
  • aoss:DeleteCollection (Write)
  • aoss:DeleteLifecyclePolicy (Write)
  • aoss:DeleteSecurityPolicy (Write)
  • aoss:GetAccessPolicy (Read)
  • aoss:GetSecurityPolicy (Read)
  • aoss:TagResource (Tagging)
OpenSearch Service: 8 actions
  • es:AddDirectQueryDataSource (Write)
  • es:AddTags (Tagging)
  • es:CreateApplication (Write)
  • es:DeleteDirectQueryDataSource (Write)
  • es:GetApplication (Read)
  • es:GetDirectQueryDataSource (Read)
  • es:ListApplications (List)
  • es:UpdateApplication (Write)
IAM: 4 actions
  • iam:CreateServiceLinkedRole (Write)
  • iam:ListRoles (List)
  • iam:ListUsers (List)
  • iam:PassRole (Write)
CloudWatch Logs: 5 actions
  • logs:DeleteIntegration (Write)
  • logs:DescribeLogGroups (List)
  • logs:GetIntegration (Read)
  • logs:ListIntegrations (List)
  • logs:PutIntegration (Write)
OpenSearch: 3 actions
  • opensearch:ApplicationAccessAll (Permissions management)
  • opensearch:GetDirectQuery (Read)
  • opensearch:StartDirectQuery (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: Yes, to users, groups and roles.

Why this tier

  • Grants 21 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": "CloudWatchOpenSearchDashboardsIntegration",
      "Effect": "Allow",
      "Action": [
        "logs:ListIntegrations",
        "logs:GetIntegration",
        "logs:DeleteIntegration",
        "logs:PutIntegration",
        "logs:DescribeLogGroups",
        "opensearch:ApplicationAccessAll",
        "iam:ListRoles",
        "iam:ListUsers"
      ],
      "Resource": "*"
    },
    {
      "Sid": "CloudWatchLogsOpensearchReadAPIs",
      "Effect": "Allow",
      "Action": [
        "aoss:BatchGetCollection",
        "aoss:BatchGetLifecyclePolicy",
        "es:ListApplications"
      ],
      "Resource": "*",
      "Condition": {
        "StringEquals": {
          "aws:CalledViaFirst": "logs.amazonaws.com"
        }
      }
    },
    {
      "Sid": "CloudWatchLogsOpensearchCreateServiceLinkedAccess",
      "Effect": "Allow",
      "Action": [
        "iam:CreateServiceLinkedRole"
      ],
      "Resource": "arn:aws:iam::*:role/aws-service-role/opensearchservice.amazonaws.com/AWSServiceRoleForAmazonOpenSearchService",
      "Condition": {
        "StringEquals": {
          "iam:AWSServiceName": "opensearchservice.amazonaws.com",
          "aws:CalledViaFirst": "logs.amazonaws.com"
        }
      }
    },
    {
      "Sid": "CloudWatchLogsObservabilityCreateServiceLinkedAccess",
      "Effect": "Allow",
      "Action": [
        "iam:CreateServiceLinkedRole"
      ],
      "Resource": "arn:aws:iam::*:role/aws-service-role/observability.aoss.amazonaws.com/AWSServiceRoleForAmazonOpenSearchServerless",
      "Condition": {
        "StringEquals": {
          "iam:AWSServiceName": "observability.aoss.amazonaws.com",
          "aws:CalledViaFirst": "logs.amazonaws.com"
        }
      }
    },
    {
      "Sid": "CloudWatchLogsCollectionRequestAccess",
      "Effect": "Allow",
      "Action": [
        "aoss:CreateCollection"
      ],
      "Resource": "*",
      "Condition": {
        "StringEquals": {
          "aws:CalledViaFirst": "logs.amazonaws.com",
          "aws:RequestTag/CloudWatchOpenSearchIntegration": [
            "Dashboards"
          ]
        },
        "ForAllValues:StringEquals": {
          "aws:TagKeys": "CloudWatchOpenSearchIntegration"
        }
      }
    },
    {
      "Sid": "CloudWatchLogsApplicationRequestAccess",
      "Effect": "Allow",
      "Action": [
        "es:CreateApplication"
      ],
      "Resource": "*",
      "Condition": {
        "StringEquals": {
          "aws:CalledViaFirst": "logs.amazonaws.com",
          "aws:RequestTag/OpenSearchIntegration": [
            "Dashboards"
          ]
        },
        "ForAllValues:StringEquals": {
          "aws:TagKeys": "OpenSearchIntegration"
        }
      }
    },
    {
      "Sid": "CloudWatchLogsCollectionResourceAccess",
      "Effect": "Allow",
      "Action": [
        "aoss:DeleteCollection"
      ],
      "Resource": "*",
      "Condition": {
        "StringEquals": {
          "aws:CalledViaFirst": "logs.amazonaws.com",
          "aws:ResourceTag/CloudWatchOpenSearchIntegration": [
            "Dashboards"
          ]
        }
      }
    },
    {
      "Sid": "CloudWatchLogsApplicationResourceAccess",
      "Effect": "Allow",
      "Action": [
        "es:UpdateApplication",
        "es:GetApplication"
      ],
      "Resource": "*",
      "Condition": {
        "StringEquals": {
          "aws:CalledViaFirst": "logs.amazonaws.com",
          "aws:ResourceTag/OpenSearchIntegration": [
            "Dashboards"
          ]
        }
      }
    },
    {
      "Sid": "CloudWatchLogsCollectionPolicyAccess",
      "Effect": "Allow",
      "Action": [
        "aoss:CreateSecurityPolicy",
        "aoss:CreateAccessPolicy",
        "aoss:DeleteAccessPolicy",
        "aoss:DeleteSecurityPolicy",
        "aoss:GetAccessPolicy",
        "aoss:GetSecurityPolicy"
      ],
      "Resource": "*",
      "Condition": {
        "StringLike": {
          "aoss:collection": "cloudwatch-logs-*",
          "aws:CalledViaFirst": "logs.amazonaws.com"
        }
      }
    },
    {
      "Sid": "CloudWatchLogsAPIAccessAll",
      "Effect": "Allow",
      "Action": [
        "aoss:APIAccessAll"
      ],
      "Resource": "*",
      "Condition": {
        "StringLike": {
          "aoss:collection": "cloudwatch-logs-*"
        }
      }
    },
    {
      "Sid": "CloudWatchLogsIndexPolicyAccess",
      "Effect": "Allow",
      "Action": [
        "aoss:CreateAccessPolicy",
        "aoss:DeleteAccessPolicy",
        "aoss:GetAccessPolicy",
        "aoss:CreateLifecyclePolicy",
        "aoss:DeleteLifecyclePolicy"
      ],
      "Resource": "*",
      "Condition": {
        "StringLike": {
          "aoss:index": "cloudwatch-logs-*",
          "aws:CalledViaFirst": "logs.amazonaws.com"
        }
      }
    },
    {
      "Sid": "CloudWatchLogsDQSRequestQueryAccess",
      "Effect": "Allow",
      "Action": [
        "es:AddDirectQueryDataSource"
      ],
      "Resource": "arn:aws:opensearch:*:*:datasource/cloudwatch_logs_*",
      "Condition": {
        "StringEquals": {
          "aws:CalledViaFirst": "logs.amazonaws.com",
          "aws:RequestTag/CloudWatchOpenSearchIntegration": [
            "Dashboards"
          ]
        },
        "ForAllValues:StringEquals": {
          "aws:TagKeys": "CloudWatchOpenSearchIntegration"
        }
      }
    },
    {
      "Sid": "CloudWatchLogsStartDirectQueryAccess",
      "Effect": "Allow",
      "Action": [
        "opensearch:StartDirectQuery",
        "opensearch:GetDirectQuery"
      ],
      "Resource": "arn:aws:opensearch:*:*:datasource/cloudwatch_logs_*"
    },
    {
      "Sid": "CloudWatchLogsDQSResourceQueryAccess",
      "Effect": "Allow",
      "Action": [
        "es:GetDirectQueryDataSource",
        "es:DeleteDirectQueryDataSource"
      ],
      "Resource": "arn:aws:opensearch:*:*:datasource/cloudwatch_logs_*",
      "Condition": {
        "StringEquals": {
          "aws:CalledViaFirst": "logs.amazonaws.com",
          "aws:ResourceTag/CloudWatchOpenSearchIntegration": [
            "Dashboards"
          ]
        }
      }
    },
    {
      "Sid": "CloudWatchLogsPassRoleAccess",
      "Effect": "Allow",
      "Action": [
        "iam:PassRole"
      ],
      "Resource": "*",
      "Condition": {
        "StringLike": {
          "iam:PassedToService": "directquery.opensearchservice.amazonaws.com",
          "aws:CalledViaFirst": "logs.amazonaws.com"
        }
      }
    },
    {
      "Sid": "CloudWatchLogsAossTagsAccess",
      "Effect": "Allow",
      "Action": [
        "aoss:TagResource"
      ],
      "Resource": "arn:aws:aoss:*:*:collection/*",
      "Condition": {
        "StringEquals": {
          "aws:CalledViaFirst": "logs.amazonaws.com",
          "aws:ResourceTag/CloudWatchOpenSearchIntegration": [
            "Dashboards"
          ]
        },
        "ForAllValues:StringEquals": {
          "aws:TagKeys": "CloudWatchOpenSearchIntegration"
        }
      }
    },
    {
      "Sid": "CloudWatchLogsEsApplicationTagsAccess",
      "Effect": "Allow",
      "Action": [
        "es:AddTags"
      ],
      "Resource": "arn:aws:opensearch:*:*:application/*",
      "Condition": {
        "StringEquals": {
          "aws:ResourceTag/OpenSearchIntegration": [
            "Dashboards"
          ],
          "aws:CalledViaFirst": "logs.amazonaws.com"
        },
        "ForAllValues:StringEquals": {
          "aws:TagKeys": "OpenSearchIntegration"
        }
      }
    },
    {
      "Sid": "CloudWatchLogsEsDataSourceTagsAccess",
      "Effect": "Allow",
      "Action": [
        "es:AddTags"
      ],
      "Resource": "arn:aws:opensearch:*:*:datasource/*",
      "Condition": {
        "StringEquals": {
          "aws:ResourceTag/CloudWatchOpenSearchIntegration": [
            "Dashboards"
          ],
          "aws:CalledViaFirst": "logs.amazonaws.com"
        },
        "ForAllValues:StringEquals": {
          "aws:TagKeys": "CloudWatchOpenSearchIntegration"
        }
      }
    }
  ]
}

Version history

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

Attach snippets

AWS CLI

aws iam attach-role-policy --role-name ROLE_NAME --policy-arn arn:aws:iam::aws:policy/CloudWatchOpenSearchDashboardsFullAccess
aws iam attach-user-policy --user-name USER_NAME --policy-arn arn:aws:iam::aws:policy/CloudWatchOpenSearchDashboardsFullAccess
aws iam attach-group-policy --group-name GROUP_NAME --policy-arn arn:aws:iam::aws:policy/CloudWatchOpenSearchDashboardsFullAccess

CloudFormation

Resources:
  ExampleRole:
    Type: AWS::IAM::Role
    Properties:
      AssumeRolePolicyDocument: {}  # replace with your trust policy
      ManagedPolicyArns:
        - arn:aws:iam::aws:policy/CloudWatchOpenSearchDashboardsFullAccess

Terraform

resource "aws_iam_role_policy_attachment" "cloudwatchopensearchdashboardsfullaccess" {
  role       = aws_iam_role.example.name
  policy_arn = "arn:aws:iam::aws:policy/CloudWatchOpenSearchDashboardsFullAccess"
}

CDK (TypeScript)

role.addManagedPolicy(
  iam.ManagedPolicy.fromAwsManagedPolicyName("CloudWatchOpenSearchDashboardsFullAccess"),
);

Sources

Pending editorial review. No editorial sources are listed yet.