AmazonOpenSearchServiceRolePolicy

Last Modified

Mar 12, 2026

March 12, 2026 at 09:28 PM UTC

Version

v9

Total Versions

11

Created

Mar 27, 2025

Actions

23

Policy Document

View on GitHub
{
  "PolicyVersion": {
    "Document": {
      "Version": "2012-10-17",
      "Statement": [
        {
          "Sid": "Stmt1480452973134",
          "Effect": "Allow",
          "Action": [
            "ec2:CreateNetworkInterface"
          ],
          "Resource": [
            "arn:aws:ec2:*:*:network-interface/*",
            "arn:aws:ec2:*:*:subnet/*",
            "arn:aws:ec2:*:*:security-group/*"
          ]
        },
        {
          "Sid": "Stmt1480452973145",
          "Effect": "Allow",
          "Action": [
            "ec2:DescribeNetworkInterfaces"
          ],
          "Resource": "*"
        },
        {
          "Sid": "Stmt1480452973144",
          "Effect": "Allow",
          "Action": [
            "ec2:DeleteNetworkInterface"
          ],
          "Resource": [
            "arn:aws:ec2:*:*:network-interface/*"
          ]
        },
        {
          "Sid": "Stmt1480452973165",
          "Effect": "Allow",
          "Action": [
            "ec2:ModifyNetworkInterfaceAttribute"
          ],
          "Resource": [
            "arn:aws:ec2:*:*:network-interface/*",
            "arn:aws:ec2:*:*:security-group/*"
          ]
        },
        {
          "Sid": "Stmt1480452973149",
          "Effect": "Allow",
          "Action": [
            "ec2:AssignIpv6Addresses"
          ],
          "Resource": "arn:aws:ec2:*:*:network-interface/*"
        },
        {
          "Sid": "Stmt1480452973150",
          "Effect": "Allow",
          "Action": [
            "ec2:UnAssignIpv6Addresses"
          ],
          "Resource": "arn:aws:ec2:*:*:network-interface/*"
        },
        {
          "Sid": "Stmt1480452973154",
          "Effect": "Allow",
          "Action": [
            "ec2:DescribeSecurityGroups"
          ],
          "Resource": "*"
        },
        {
          "Sid": "Stmt1480452973164",
          "Effect": "Allow",
          "Action": [
            "ec2:DescribeSubnets"
          ],
          "Resource": "*"
        },
        {
          "Sid": "Stmt1480452973174",
          "Effect": "Allow",
          "Action": [
            "ec2:DescribeVpcs"
          ],
          "Resource": "*"
        },
        {
          "Sid": "Stmt1480452973184",
          "Effect": "Allow",
          "Action": [
            "elasticloadbalancing:AddListenerCertificates",
            "elasticloadbalancing:RemoveListenerCertificates"
          ],
          "Resource": [
            "arn:aws:elasticloadbalancing:*:*:listener/*"
          ]
        },
        {
          "Sid": "Stmt1480452973194",
          "Effect": "Allow",
          "Action": [
            "ec2:CreateTags"
          ],
          "Resource": [
            "arn:aws:ec2:*:*:network-interface/*"
          ]
        },
        {
          "Sid": "Stmt1480452973195",
          "Effect": "Allow",
          "Action": [
            "ec2:DescribeTags"
          ],
          "Resource": "*"
        },
        {
          "Sid": "Stmt1480452973196",
          "Effect": "Allow",
          "Action": [
            "acm:DescribeCertificate"
          ],
          "Resource": "*"
        },
        {
          "Sid": "Stmt1480452973197",
          "Effect": "Allow",
          "Action": "cloudwatch:PutMetricData",
          "Resource": "*",
          "Condition": {
            "StringEquals": {
              "cloudwatch:namespace": [
                "AWS/ES",
                "AWS/OpenSearch"
              ]
            }
          }
        },
        {
          "Sid": "Stmt1480452973198",
          "Effect": "Allow",
          "Action": [
            "ec2:CreateVpcEndpoint",
            "ec2:ModifyVpcEndpoint"
          ],
          "Resource": [
            "arn:aws:ec2:*:*:vpc/*",
            "arn:aws:ec2:*:*:security-group/*",
            "arn:aws:ec2:*:*:subnet/*",
            "arn:aws:ec2:*:*:route-table/*"
          ]
        },
        {
          "Sid": "Stmt1480452973199",
          "Effect": "Allow",
          "Action": "ec2:CreateVpcEndpoint",
          "Resource": "arn:aws:ec2:*:*:vpc-endpoint/*",
          "Condition": {
            "StringEquals": {
              "aws:RequestTag/OpenSearchManaged": "true"
            }
          }
        },
        {
          "Sid": "Stmt1480452973200",
          "Effect": "Allow",
          "Action": [
            "ec2:ModifyVpcEndpoint",
            "ec2:DeleteVpcEndpoints"
          ],
          "Resource": "arn:aws:ec2:*:*:vpc-endpoint/*",
          "Condition": {
            "StringEquals": {
              "aws:ResourceTag/OpenSearchManaged": "true"
            }
          }
        },
        {
          "Sid": "Stmt1480452973201",
          "Effect": "Allow",
          "Action": [
            "ec2:DescribeVpcEndpoints"
          ],
          "Resource": "*"
        },
        {
          "Sid": "Stmt1480452973202",
          "Effect": "Allow",
          "Action": [
            "ec2:CreateTags"
          ],
          "Resource": "arn:aws:ec2:*:*:vpc-endpoint/*",
          "Condition": {
            "StringEquals": {
              "ec2:CreateAction": "CreateVpcEndpoint"
            }
          }
        },
        {
          "Effect": "Allow",
          "Action": "sso:PutApplicationAccessScope",
          "Resource": "arn:aws:sso::*:application/*/*",
          "Condition": {
            "StringEquals": {
              "aws:ResourceOrgID": "${aws:PrincipalOrgID}"
            }
          }
        }
      ]
    },
    "VersionId": "v9",
    "IsDefaultVersion": true,
    "CreateDate": "2025-03-27T22:52:06+00:00"
  }
}

Version History (14 recorded)

Raw history

AmazonOpenSearchServiceRolePolicy - Policy Version v9

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

Mar 12, 2026

f3c1fa4

Update detected

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

Mar 27, 2025

2376c82

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.

Aug 21, 2024

e853251

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.

Oct 23, 2023

e0619c6

Update detected

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

Oct 23, 2023

ec0c8ea

Update detected

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

Oct 13, 2022

df98d74

Update detected

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

Oct 13, 2022

c35cdba

Update detected

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

Sep 12, 2022

e9dd8a5

Update detected

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

Jul 28, 2022

eb112b6

Update detected

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

Sep 9, 2021

a34d09b

Update detected

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

Sep 1, 2021

0f3dde3

Update detected

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

Aug 26, 2021

4fd6c46