AmazonElasticsearchServiceRolePolicy

Last Modified

Jun 22, 2026

June 22, 2026 at 01:03 PM UTC

Version

v8

Total Versions

12

Created

Jun 22, 2026

Actions

21

Policy Document

View on GitHub
{
  "PolicyVersion": {
    "Document": {
      "Version": "2012-10-17",
      "Statement": [
        {
          "Sid": "Stmt1480452973134",
          "Action": [
            "ec2:CreateNetworkInterface",
            "ec2:DeleteNetworkInterface",
            "ec2:DescribeNetworkInterfaces",
            "ec2:ModifyNetworkInterfaceAttribute",
            "ec2:DescribeSecurityGroups",
            "ec2:DescribeSubnets",
            "ec2:DescribeVpcs",
            "elasticloadbalancing:AddListenerCertificates",
            "elasticloadbalancing:RemoveListenerCertificates"
          ],
          "Effect": "Allow",
          "Resource": "*"
        },
        {
          "Sid": "Stmt1480452973135",
          "Effect": "Allow",
          "Action": [
            "acm:DescribeCertificate"
          ],
          "Resource": "*"
        },
        {
          "Sid": "Stmt1480452973136",
          "Effect": "Allow",
          "Action": "cloudwatch:PutMetricData",
          "Resource": "*",
          "Condition": {
            "StringEquals": {
              "cloudwatch:namespace": "AWS/ES"
            }
          }
        },
        {
          "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": "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": "Stmt1480452973194",
          "Effect": "Allow",
          "Action": [
            "ec2:CreateTags"
          ],
          "Resource": [
            "arn:aws:ec2:*:*:network-interface/*"
          ]
        },
        {
          "Sid": "Stmt1480452973202",
          "Effect": "Allow",
          "Action": [
            "ec2:CreateTags"
          ],
          "Resource": "arn:aws:ec2:*:*:vpc-endpoint/*",
          "Condition": {
            "StringEquals": {
              "ec2:CreateAction": "CreateVpcEndpoint"
            }
          }
        }
      ]
    },
    "VersionId": "v8",
    "IsDefaultVersion": true,
    "CreateDate": "2026-06-22T12:27:26+00:00"
  }
}

Version History (15 recorded)

Raw history
v8updated

scope changed, no action added or removed

9662c72

AmazonElasticsearchServiceRolePolicy - Policy Version v7

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

Mar 12, 2026

1b74146

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.

Oct 23, 2023

ec0c8ea

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.

Aug 2, 2022

05e3cbb

Update detected

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

Aug 31, 2020

83a3dca

Update detected

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

Sep 16, 2019

49aa1d0

Update detected

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

Sep 16, 2019

71619cf

Update detected

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

Sep 16, 2019

8279033

`2019-08-29`

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

Aug 29, 2019

5016d52

I updated my CLI and it looks like it reordered everything and changed the white-space, so everything looks changed, but is not

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

Jul 12, 2019

9d2dff1

First commit

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

Feb 10, 2019

ad4c2e8