CloudWatchOpenSearchDashboardsFullAccess

Last Modified

Mar 12, 2026

March 12, 2026 at 09:28 PM UTC

Version

v3

Total Versions

1

Created

Feb 12, 2026

Actions

39

Policy Document

View on GitHub
{
  "PolicyVersion": {
    "Document": {
      "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"
            }
          }
        }
      ]
    },
    "VersionId": "v3",
    "IsDefaultVersion": true,
    "CreateDate": "2026-02-12T17:59:00+00:00"
  }
}

Version History (4 recorded)

Raw history
v3updated

scope changed, no action added or removed

85a4b77

CloudWatchOpenSearchDashboardsFullAccess - Policy Version v3

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

Feb 12, 2026

b968393

CloudWatchOpenSearchDashboardsFullAccess - Policy Version v2

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

Feb 12, 2026

c90c76b

Update detected

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

Dec 1, 2024

1f02f92